Closed
Description
Describe the bug
I assume that after bumping @webpack-cli/serve to 1.5.2 something has been broken, as after adding the following in my package.json, webpack serves correctly as expected.
"resolutions": {
"@webpack-cli/serve": "1.5.1"
}
What is the current behavior?
Webpack fails to build on serve.
- configuration has an unknown property '_assetEmittingPreviousFiles'. These properties are valid:
- { bonjour?, client?, compress?, devMiddleware?, firewall?, headers?, historyApiFallback?, host?, hot?, http2?, https?, liveReload?, onAfterSetupMiddleware?, onBeforeSetupMiddleware?, onListening?, open?, port?, proxy?, public?, setupExitSignals?, static?, transportMode?, watchFiles? }
To Reproduce
Steps to reproduce the behavior:
I have just done a clean install of one of my projects using the serve command. Suddenly, it stopped working. I have seen that both packages webpack-cli
and @webpack-cli/serve
have been published recently (14h ago at time of writing this issue).
Expected behavior
Serve should work as expected
Screenshots
Please paste the results of webpack-cli info
here, and mention other relevant information
System:
OS: macOS 10.15.7
CPU: (8) x64 Intel(R) Core(TM) i5-8257U CPU @ 1.40GHz
Memory: 1.68 GB / 16.00 GB
Binaries:
Node: 12.22.3 - /usr/local/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 6.14.13 - /usr/local/bin/npm
Browsers:
Chrome: 92.0.4515.131
Edge: 92.0.902.73
Firefox: 89.0
Safari: 14.0.2
Monorepos:
Yarn Workspaces: 1.22.10
Additional context