From 85ac69914e97edd537c48e965df452a9d92fb121 Mon Sep 17 00:00:00 2001 From: scopewu Date: Thu, 5 Apr 2018 21:08:39 +0800 Subject: [PATCH] css minimize --- webpack.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/webpack.config.js b/webpack.config.js index 361edbc..c4a9ac9 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -66,6 +66,7 @@ const webpackConfig = { { loader: 'css-loader', options: { + minimize: __PROD__, sourceMap: __DEV__ } }