构建阶段压缩代码、外置map
This commit is contained in:
@@ -15,7 +15,7 @@ const buildConfig = require('../webpack-build-config')
|
||||
|
||||
module.exports = merge(baseConfig, {
|
||||
mode: 'production',
|
||||
devtool: false,
|
||||
devtool: 'source-map',
|
||||
externals: [
|
||||
// ...Object.keys(dependencies || {}).filter(d => !whiteListedModules.includes(d)),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user