From 882e4f53221b13ead821093561ae4b665cea3a35 Mon Sep 17 00:00:00 2001 From: Yamagishi Kazutoshi Date: Sun, 14 May 2017 19:59:40 +0900 Subject: Remove Babel plugin for ES Modules (#2975) * Remove Babel plugin for ES Modules Processing of ES Modules is executed by Webpack. Don't have to do it on Babel side. * Add plugin for test --- .babelrc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.babelrc') diff --git a/.babelrc b/.babelrc index 37cdb1c20..716f88775 100644 --- a/.babelrc +++ b/.babelrc @@ -5,6 +5,7 @@ "env", { "loose": true, + "modules": false, "targets": { "browsers": ["last 2 versions", "IE >= 11", "iOS >= 9"] } @@ -33,6 +34,11 @@ "plugins": [ "lodash" ] + }, + "test": { + "plugins": [ + "transform-es2015-modules-commonjs" + ] } } } -- cgit