configuration has an unknown property '_assetEmittingPreviousFiles'
LechLee opened this issue ยท 3 comments
Describe the bug
Hi, im hitting 'configuration has an unknown property '_assetEmittingPreviousFiles' when running webpack serve
What is the current behavior?
I suspect the issue is with @webpack-cli/serve version 1.5.2
as i have reverted to version 1.5.1 at package-lock.json and is working fine
To Reproduce
package.json:
`
{
"name": "webpack",
"version": "1.0.0",
"description": "A webpack config",
"main": "index.js",
"scripts": {
"start": "webpack serve"
},
"devDependencies": {
"webpack": "^5.28.0",
"webpack-cli": "4.7.2",
"webpack-dev-server": "4.0.0-beta.2"
}
}
webpack.config.js:
const path = require('path')
module.exports = {
entry: {
main: './src/js/index.js',
styles: './src/css/main.css',
},
output: {
path: path.join(__dirname, 'public'),
filename: '[name].[contenthash].js',
},
plugins: [],
}
`
Expected behavior
able to run webpack server
Please try with webpack-dev-server@4.0.0-rc.1
and webpack-cli 4.8.0
Please try with webpack-dev-server@4.0.0-rc.1 and webpack-cli 4.8.0
This is working
Please try with webpack-dev-server@4.0.0-rc.1 and webpack-cli 4.8.0
This is working also for me. Thx!