about summary refs log tree commit diff
path: root/.babelrc
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2017-05-14 19:59:40 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-05-14 12:59:40 +0200
commit882e4f53221b13ead821093561ae4b665cea3a35 (patch)
tree9c03685a140275eacd5dbf393a3e3083e9b7761d /.babelrc
parentbc1a91f4cd6d4b8fc0655321a2f7506f29ba6222 (diff)
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
Diffstat (limited to '.babelrc')
-rw-r--r--.babelrc6
1 files changed, 6 insertions, 0 deletions
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"
+      ]
     }
   }
 }