修复bug IS_PROD
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -41,7 +41,7 @@ module.exports = { | ... | @@ -41,7 +41,7 @@ module.exports = { |
41 | // publicPath: '/app/', //署应用包时的基本 URL。 vue-router history模式使用 | 41 | // publicPath: '/app/', //署应用包时的基本 URL。 vue-router history模式使用 |
42 | outputDir: 'dist', // 生产环境构建文件的目录 | 42 | outputDir: 'dist', // 生产环境构建文件的目录 |
43 | assetsDir: 'static', // outputDir的静态资源(js、css、img、fonts)目录 | 43 | assetsDir: 'static', // outputDir的静态资源(js、css、img、fonts)目录 |
44 | lintOnSave: process.env.NODE_ENV !== IS_PROD, | 44 | lintOnSave: !IS_PROD, |
45 | productionSourceMap: false, // 如果你不需要生产环境的 source map,可以将其设置为 false 以加速生产环境构建。 | 45 | productionSourceMap: false, // 如果你不需要生产环境的 source map,可以将其设置为 false 以加速生产环境构建。 |
46 | devServer: { | 46 | devServer: { |
47 | port: 9020, // 端口 | 47 | port: 9020, // 端口 | ... | ... |
-
Please register or sign in to post a comment