enhancement(build): use emotion autolabel to production (#2036)
This commit is contained in:
parent
a5ef2cb87a
commit
22e047e723
@ -32,7 +32,16 @@ const plugins = () => {
|
||||
];
|
||||
|
||||
if (isProduction) {
|
||||
return [...defaultPlugins, ['emotion', { hoist: true }]];
|
||||
return [
|
||||
...defaultPlugins,
|
||||
[
|
||||
'emotion',
|
||||
{
|
||||
hoist: true,
|
||||
autoLabel: true,
|
||||
},
|
||||
],
|
||||
];
|
||||
}
|
||||
|
||||
if (isTest) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user