From 899156dc7561b66fa1590365a2dc17e3b095fcbc Mon Sep 17 00:00:00 2001 From: Brent Hoover Date: Fri, 18 Feb 2022 13:35:52 +0800 Subject: [PATCH] fix: add babel entry to accommodate styles components Signed-off-by: Brent Hoover --- .babelrc | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.babelrc b/.babelrc index 5d4f37a5e8..4722ed5817 100644 --- a/.babelrc +++ b/.babelrc @@ -1,5 +1,15 @@ { "presets": [ "next/babel" + ], + "plugins": [ + [ + "styled-components", + { + "ssr": true, + "displayName": true, + "preprocess": false + } + ] ] -} \ No newline at end of file +}