5860dfb8 by sunnie

修复bug IS_PROD

1 parent 0c0fa855
...@@ -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, // 端口
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!