|
@@ -15,7 +15,7 @@ module.exports = {
|
|
|
// 如果你不需要生产环境的 source map,可以将其设置为 false 以加速生产环境构建。
|
|
|
productionSourceMap: false,
|
|
|
//qiankuan打包时放开
|
|
|
- //outputDir: "../dist/main",
|
|
|
+ outputDir: "screen",
|
|
|
// 多入口配置
|
|
|
// pages: {
|
|
|
// index: {
|
|
@@ -25,7 +25,7 @@ module.exports = {
|
|
|
// }
|
|
|
// },
|
|
|
//打包app时放开该配置
|
|
|
- //publicPath:'/',
|
|
|
+ publicPath:'/screen',
|
|
|
configureWebpack: config => {
|
|
|
//生产环境取消 console.log
|
|
|
if (process.env.NODE_ENV === 'production') {
|