refactor(css): minimize when injected
This commit is contained in:
@@ -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({
|
||||||
|
|||||||
Reference in New Issue
Block a user