优化代码

master
Lee-1203 2022-03-09 15:57:52 +08:00
parent 5e587e8960
commit 84880525fe
1 changed files with 6 additions and 0 deletions

View File

@ -1,4 +1,10 @@
module.exports = {
lintOnSave: true,
// 配置webpack打包
configureWebpack: (config) => {
// 取消console打印
config.optimization.minimizer[0].options.terserOptions.compress.drop_console = true
},
devServer: {
proxy: {
'/api': {