Explorar el Código

去掉配置build成功

luolei hace 4 años
padre
commit
e27c1a4d53
Se han modificado 1 ficheros con 5 adiciones y 5 borrados
  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({