From 526765e9af5a278b1e955e93d4d3f00b55764942 Mon Sep 17 00:00:00 2001 From: Tatsuyuki Ishi Date: Sat, 2 Jun 2018 15:50:31 +0900 Subject: [PATCH] fix(babel): Only apply plugins during test --- .babelrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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"] + } + } }