|
@ -16,7 +16,8 @@ module.exports = merge(baseWebpackConfig, { |
|
|
rules: utils.styleLoaders({ sourceMap: config.dev.cssSourceMap }) |
|
|
rules: utils.styleLoaders({ sourceMap: config.dev.cssSourceMap }) |
|
|
}, |
|
|
}, |
|
|
// cheap-module-eval-source-map is faster for development
|
|
|
// cheap-module-eval-source-map is faster for development
|
|
|
devtool: '#cheap-module-eval-source-map', |
|
|
|
|
|
|
|
|
//devtool: '#cheap-module-eval-source-map',
|
|
|
|
|
|
devtool: '#source-map', |
|
|
plugins: [ |
|
|
plugins: [ |
|
|
new webpack.DefinePlugin({ |
|
|
new webpack.DefinePlugin({ |
|
|
'process.env': config.dev.env |
|
|
'process.env': config.dev.env |
|
|