refactor(css): minimize when injected

This commit is contained in:
moklick
2021-01-20 10:54:57 +01:00
parent 040cf60699
commit 571043b249
+1
View File
@@ -44,6 +44,7 @@ const baseConfig = ({ mainFile = pkg.main, moduleFile = pkg.module, extractCss =
}), }),
bundleSize(), bundleSize(),
postcss({ postcss({
minimize: !extractCss,
extract: extractCss, extract: extractCss,
}), }),
babel({ babel({