Skip to content

Commit

Permalink
Option 'safe' is now a parser (#72)
Browse files Browse the repository at this point in the history
"Option safe was removed. Use parser: require("postcss-safe-parser")" in cssnano 4

Closes #68
  • Loading branch information
Simon Kunz authored and NMFR committed Aug 1, 2018
1 parent 50548b3 commit 784677f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -45,7 +45,7 @@ module.exports = {
new OptimizeCssAssetsPlugin({
assetNameRegExp: /\.optimize\.css$/g,
cssProcessor: require('cssnano'),
cssProcessorOptions: { safe: true, discardComments: { removeAll: true } },
cssProcessorOptions: { discardComments: { removeAll: true } },
canPrint: true
})
]
Expand Down

0 comments on commit 784677f

Please sign in to comment.