Parcourir la source

修改uglifyjs-webpack-plugin版本

qianlishi il y a 7 mois
Parent
commit
10d4ddd40c
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1 1
      report-ui/build/webpack.prod.conf.js
  2. 1 1
      report-ui/package.json

+ 1 - 1
report-ui/build/webpack.prod.conf.js

@@ -135,7 +135,7 @@ const webpackConfig = merge(baseWebpackConfig, {
         },
         sourceMap: config.build.productionSourceMap,
         cache: true,
-        parallel: true
+        parallel: true,
       }),
       // Compress extracted CSS. We are using this plugin so that possible
       // duplicated CSS from different components can be deduped.

+ 1 - 1
report-ui/package.json

@@ -82,7 +82,7 @@
     "shelljs": "0.8.2",
     "svg-sprite-loader": "6.0.0",
     "svgo": "2.0.0",
-    "uglifyjs-webpack-plugin": "2.0.0",
+    "uglifyjs-webpack-plugin": "1.2.7",
     "url-loader": "4.0.0",
     "vue-loader": "^15.10.2",
     "vue-style-loader": "4.1.2",