mirror of
https://github.com/jeecgboot/jeecg-boot.git
synced 2025-09-28 19:13:33 +00:00
Jeecg-Boot 2.1.0 版本发布,Online表单开发&在线代码生成器(迟到的版本)
This commit is contained in:
@@ -21,8 +21,12 @@ module.exports = {
|
||||
}
|
||||
},
|
||||
*/
|
||||
configureWebpack: {},
|
||||
|
||||
configureWebpack: config => {
|
||||
//生产环境取消 console.log
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
config.optimization.minimizer[0].options.terserOptions.compress.drop_console = true
|
||||
}
|
||||
},
|
||||
chainWebpack: (config) => {
|
||||
config.resolve.alias
|
||||
.set('@$', resolve('src'))
|
||||
|
Reference in New Issue
Block a user