From af5e43618cc1ae1f6288a1e9495cd0c93946889e Mon Sep 17 00:00:00 2001 From: Thai Pangsakulyanont Date: Tue, 19 Jun 2018 12:27:46 +0700 Subject: [PATCH] Enable safe flag by default in the docs. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1e84dc6..71e2bf4 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ module.exports = { new OptimizeCssAssetsPlugin({ assetNameRegExp: /\.optimize\.css$/g, cssProcessor: require('cssnano'), - cssProcessorOptions: { discardComments: { removeAll: true } }, + cssProcessorOptions: { safe: true, discardComments: { removeAll: true } }, canPrint: true }) ]