diff --git a/babel.config.js b/babel.config.js index 8a5a35ea..9974bb8e 100644 --- a/babel.config.js +++ b/babel.config.js @@ -32,7 +32,16 @@ const plugins = () => { ]; if (isProduction) { - return [...defaultPlugins, ['emotion', { hoist: true }]]; + return [ + ...defaultPlugins, + [ + 'emotion', + { + hoist: true, + autoLabel: true, + }, + ], + ]; } if (isTest) {