diff --git a/.babelrc b/.babelrc index cd9b3173..d4f07fad 100644 --- a/.babelrc +++ b/.babelrc @@ -1,3 +1,7 @@ { - "plugins": ["transform-es2015-modules-commonjs"] + "env": { + "test": { + "plugins": ["transform-es2015-modules-commonjs"] + } + } }