From 7a587c94663526512232bafad6836f0cbacbbcbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Renaudeau?= Date: Sat, 30 Jun 2018 21:48:50 +0200 Subject: [PATCH] don't disable the displayName of styled components --- babel.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/babel.config.js b/babel.config.js index 3e5f9bc5..9b192822 100644 --- a/babel.config.js +++ b/babel.config.js @@ -24,7 +24,7 @@ module.exports = () => ({ [ require('babel-plugin-styled-components'), { - displayName: NODE_ENV === 'development', + displayName: true, ssr: __TEST__, }, ],