analyz
Former-commit-id: 847e6f8ee019d64d1824007adb2ed219017d3928 Former-commit-id: 317d3bd140c615de9e4d5922ab664592cb5bccbe Former-commit-id: adc3a9c4c76b5c51eb4a5f3ee88ae799f4440ec7 Former-commit-id: bfc2a28aa8d6c23a726bfc777dbe5417cef0bc21 [formerly a34aa204298309b1075e2a46b011db69b4dfb807] Former-commit-id: 684c1c268d67fe3fb1cd498756773c98097700fa Former-commit-id: 5edec1b5d70521e5d26be379d82f29e1bc2a1766 Former-commit-id: 1a6db24e88e81a60a58608af869de325f6b4c0db Former-commit-id: c5ed24c5ba42f1734ec064bf0c5b4d048aa68e36 Former-commit-id: 99aebbf8c0601aa88b2ef59658b40e190989f019
This commit is contained in:
@@ -10,7 +10,8 @@
|
||||
"dev": "npm run serve",
|
||||
"i18n:report": "vue-cli-service i18n:report --src './src/**/*.?(js|vue)' --locales './src/locales/**/*.json'",
|
||||
"start": "npm run serve",
|
||||
"test:unit": "vue-cli-service test:unit"
|
||||
"test:unit": "vue-cli-service test:unit",
|
||||
"analyz": "npm_config_report=true npm run build"
|
||||
},
|
||||
"dependencies": {
|
||||
"@d2-projects/d2-crud": "^2.1.2",
|
||||
@@ -70,6 +71,7 @@
|
||||
"text-loader": "0.0.1",
|
||||
"vue-cli-plugin-i18n": "^0.6.0",
|
||||
"vue-template-compiler": "^2.6.10",
|
||||
"webpack-bundle-analyzer": "^3.6.0",
|
||||
"webpack-theme-color-replacer": "^1.2.15"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -115,6 +115,10 @@ module.exports = {
|
||||
.add('@/mock')
|
||||
.end()
|
||||
}
|
||||
// 分析工具
|
||||
config
|
||||
.plugin('webpack-bundle-analyzer')
|
||||
.use(require('webpack-bundle-analyzer').BundleAnalyzerPlugin)
|
||||
},
|
||||
// 不输出 map 文件
|
||||
productionSourceMap: false,
|
||||
|
||||
Reference in New Issue
Block a user