From 22e047e7232e47d5d11230a43ae089ceaeb0934b Mon Sep 17 00:00:00 2001 From: Luke Thomas Date: Sat, 2 Feb 2019 19:19:14 -0600 Subject: [PATCH] enhancement(build): use emotion autolabel to production (#2036) --- babel.config.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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) {