Open vjpr opened 4 years ago
The issue seems to arise when using {devtool: 'inline-cheap-source-map'}
. When turning it off it works fine.
Closing - could not reproduce in bare config.
Was able to reproduce. When using webpack-extension-reloader
and {devtool: 'inline-cheap-source-map'}
, this error always shows.
The fix seems to be to simply upgrade to webpack-sources@2.0.0-beta.8
. Maybe we could have a separate branch for this.
@vjpr I was having errors relating to
[webpack-cli] Error:
at Object.extractEntries
It broke when I removed the filename
option from the output
.
output: {
path: path.join(__dirname, '/dist'),
- filename: '[name].js',
},
The webpack5 migration guide said you can remove that in the clean-up section https://webpack.js.org/migrate/5/#clean-up-configuration 🤷♂️
I added it back and everything is working now.
any update on this? 🙂
Type:
Environment:
I'm going to open a PR:
Description: