mirror of
https://github.com/zhigang1992/styled-components.git
synced 2026-01-12 17:52:45 +08:00
compress all dist outputs
This commit is contained in:
@@ -44,15 +44,15 @@ const commonPlugins = [
|
||||
replace({
|
||||
__VERSION__: JSON.stringify(pkg.version),
|
||||
}),
|
||||
terser({
|
||||
sourcemap: true,
|
||||
}),
|
||||
];
|
||||
|
||||
const prodPlugins = [
|
||||
replace({
|
||||
'process.env.NODE_ENV': JSON.stringify('production'),
|
||||
}),
|
||||
terser({
|
||||
sourcemap: true,
|
||||
}),
|
||||
];
|
||||
|
||||
const configBase = {
|
||||
|
||||
Reference in New Issue
Block a user