From 6187cf53dcfbf852912ab9f90cbde7591e61ac89 Mon Sep 17 00:00:00 2001 From: dhruvdutt Date: Thu, 7 Sep 2017 23:19:22 +0530 Subject: [PATCH] fix: Import error in tests --- .babelrc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.babelrc b/.babelrc index 6141056..11b9853 100644 --- a/.babelrc +++ b/.babelrc @@ -4,5 +4,13 @@ "stage-0", "react" ], - "plugins": ["lodash"] + "plugins": ["lodash"], + "env": { + "development": { + "plugins": ["transform-es2015-modules-commonjs"] + }, + "test": { + "plugins": ["transform-es2015-modules-commonjs"] + } + } }