enhancement(build): use emotion autolabel to production (#2036)

This commit is contained in:
Luke Thomas 2019-02-02 19:19:14 -06:00 committed by Shawn Erquhart
parent a5ef2cb87a
commit 22e047e723

View File

@ -32,7 +32,16 @@ const plugins = () => {
];
if (isProduction) {
return [...defaultPlugins, ['emotion', { hoist: true }]];
return [
...defaultPlugins,
[
'emotion',
{
hoist: true,
autoLabel: true,
},
],
];
}
if (isTest) {