diff --git a/.babelrc b/.babelrc index f7a8b05..9038f43 100644 --- a/.babelrc +++ b/.babelrc @@ -1,5 +1,6 @@ { "plugins": [ - "transform-es2015-modules-commonjs" + "transform-es2015-modules-commonjs", + "transform-export-extensions" ] } diff --git a/package.json b/package.json index 714fdc0..0e199f2 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,7 @@ "devDependencies": { "babel-cli": "^6.18.0", "babel-plugin-transform-es2015-modules-commonjs": "^6.18.0", + "babel-plugin-transform-export-extensions": "^6.8.0", "babel-register": "^6.18.0", "chai": "^3.5.0", "eslint": "^3.9.1",