Closed yoyo837 closed 3 years ago
Per the docs here your preprocessor needs to have sourceMap: true
always.
{
loader: require.resolve(preProcessor),
options: {
sourceMap: isEnvProduction, // <--- sourceMap: true
...preProcessorOptions,
},
}
If webpack worked before this release then it means that resolve-url-loader
wasn't actually doing anything. So you can probably remove it from your project. Certainly your compile time will be faster if you don't use the loader.
Thanks a lot. I got the point.
Upgrade to 4.0.0-alpha.3, I got this:
resolve-url-loader: webpack misconfiguration webpack or the upstream loader did not supply a source-map
webpack-base-config.js:
webpack.dev.config.js: