mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2025-12-08 17:12:28 +08:00
JeecgBoot 2.1.1 代码生成器AI版本发布
This commit is contained in:
@ -13,14 +13,9 @@ module.exports = {
|
||||
*/
|
||||
// 如果你不需要生产环境的 source map,可以将其设置为 false 以加速生产环境构建。
|
||||
productionSourceMap: false,
|
||||
/*
|
||||
pages: {
|
||||
index: {
|
||||
entry: 'src/main.js',
|
||||
chunks: ['chunk-vendors', 'chunk-common', 'index']
|
||||
}
|
||||
},
|
||||
*/
|
||||
|
||||
//打包app时放开该配置
|
||||
//publicPath:'./',
|
||||
configureWebpack: config => {
|
||||
//生产环境取消 console.log
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
@ -36,6 +31,7 @@ module.exports = {
|
||||
.set('@views', resolve('src/views'))
|
||||
.set('@layout', resolve('src/layout'))
|
||||
.set('@static', resolve('src/static'))
|
||||
.set('@mobile', resolve('src/modules/mobile'))
|
||||
},
|
||||
|
||||
css: {
|
||||
|
||||
Reference in New Issue
Block a user