|
@@ -33,6 +33,7 @@ module.exports = {
|
|
publicPath: '/',
|
|
publicPath: '/',
|
|
outputDir: './dist', // 构建文件目录,默认dist
|
|
outputDir: './dist', // 构建文件目录,默认dist
|
|
filenameHashing: false,
|
|
filenameHashing: false,
|
|
|
|
+ lintOnSave: false,
|
|
productionSourceMap: process.env.BUILD_ENV === 'develop',
|
|
productionSourceMap: process.env.BUILD_ENV === 'develop',
|
|
devServer: {
|
|
devServer: {
|
|
hot: true,
|
|
hot: true,
|
|
@@ -51,10 +52,10 @@ module.exports = {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- overlay: {
|
|
|
|
- warnings: false,
|
|
|
|
- errors: false
|
|
|
|
- },
|
|
|
|
|
|
+ // overlay: {
|
|
|
|
+ // warnings: false,
|
|
|
|
+ // errors: false
|
|
|
|
+ // },
|
|
before (app) {
|
|
before (app) {
|
|
}
|
|
}
|
|
},
|
|
},
|