优化代码
parent
5e587e8960
commit
84880525fe
|
@ -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': {
|
||||
|
|
Loading…
Reference in New Issue