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"] + } + } }