Answer to own question! Spoiler: false
.
module.exports = {
devtool: isProd ? false : 'source-map',
}
In Webpack 4 it was possible to value this with an empty string. webpack 5 is more strict. Webpacks devtool configuration.
Answer to own question! Spoiler: false
.
module.exports = {
devtool: isProd ? false : 'source-map',
}
In Webpack 4 it was possible to value this with an empty string. webpack 5 is more strict. Webpacks devtool configuration.