From 59bbfb3499b06d8059e4a5070892572ed834712a Mon Sep 17 00:00:00 2001 From: ghaiklor Date: Tue, 1 Dec 2015 13:34:27 +0200 Subject: [PATCH] chore(package): Add add-module-exports plugin for support old module.exports syntax --- .babelrc | 3 ++- package.json | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.babelrc b/.babelrc index c13c5f6..ad0ec08 100644 --- a/.babelrc +++ b/.babelrc @@ -1,3 +1,4 @@ { - "presets": ["es2015"] + "presets": ["es2015"], + "plugins": ["add-module-exports"] } diff --git a/package.json b/package.json index 51ac1e7..0e6bd87 100644 --- a/package.json +++ b/package.json @@ -42,6 +42,7 @@ }, "devDependencies": { "babel-cli": "6.2.0", + "babel-plugin-add-module-exports": "0.1.1", "babel-preset-es2015": "6.1.18", "chai": "3.3.0", "chai-passport-strategy": "0.2.0",