allow minimal debugging in producion envs

no-sources-source-map prevents using chrome debugging tools.
This commit is contained in:
Pooya Parsa 2017-12-08 12:21:53 +03:30
parent 9f72e4a6e2
commit 2097a03b9c

View File

@ -19,7 +19,7 @@ export default function webpackBaseConfig(name) {
const config = {
name,
devtool: this.options.dev ? 'cheap-module-source-map' : 'nosources-source-map',
devtool: this.options.dev ? 'cheap-module-source-map' : false,
entry: {
app: null
},