Browse Source

去掉配置build成功

luolei 4 years ago
parent
commit
e27c1a4d53
1 changed files with 5 additions and 5 deletions
  1. 5 5
      build/webpack.prod.conf.js

+ 5 - 5
build/webpack.prod.conf.js

@@ -130,11 +130,11 @@ const webpackConfig = merge(baseWebpackConfig, {
         new ExtractTextPlugin({
             filename: utils.assetsPath('css/[name].[contenthash].css')
         }),
-        new OptimizeCSSPlugin({
-            cssProcessorOptions: {
-                safe: true
-            }
-        }),
+        // new OptimizeCSSPlugin({
+        //     cssProcessorOptions: {
+        //         safe: true
+        //     }
+        // }),
         // new es3ifyPlugin(),
         new webpack.HashedModuleIdsPlugin(),
         new webpack.optimize.CommonsChunkPlugin({