Luolei hace 6 años
padre
commit
00c6128ea1
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      webpack.config.js

+ 1 - 0
webpack.config.js

@@ -176,6 +176,7 @@ module.exports = {
     ]
   },
   // devtool: 'cheap-module-eval-source-map', //开发环境cheap-module-eval-source-map   //生产环境cheap-module-source-map
+  mode: 'production',
   devServer: {
     contentBase: path.join(__dirname, "dist"), //静态文件根目录
     proxy: {