Exclude SVG optimisation from CSS minification
@@ -153,7 +153,16 @@ module.exports = (env, argv) => ({
}
},
minimizer: [
- new CssMinimizerPlugin(),
+ new CssMinimizerPlugin({
+ minimizerOptions: {
+ preset: [
+ "default",
+ {
+ svgo: {"exclude": true},
+ },
+ ],
+ },
+ }),
],
},
resolve: {
