Is there a command line flag to disable JavaScript source maps for Chrome?
on webpack.config.js
add devtool: false
exports.onCreateWebpackConfig = ({ actions, stage }) => { // If production JavaScript and CSS build if (stage === 'build-javascript') { // Turn off source maps actions.setWebpackConfig({ devtool: false, }) }};
or
You can pass compiler options inside every loader query string
loadWhatEVer?sourceMap=false