From e02e0219a76740b5bba17936249334ab9010ac17 Mon Sep 17 00:00:00 2001 From: David Baker Date: Mon, 17 Oct 2016 15:37:31 +0100 Subject: [PATCH] Add plugin that makes babel 6 not break everything --- .babelrc | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.babelrc b/.babelrc index ceeb850b..8c7b6626 100644 --- a/.babelrc +++ b/.babelrc @@ -1,4 +1,4 @@ { "presets": ["react", "es2015", "es2016"], - "plugins": ["transform-class-properties", "transform-object-rest-spread", "transform-async-to-generator", "transform-runtime"] + "plugins": ["transform-class-properties", "transform-object-rest-spread", "transform-async-to-generator", "transform-runtime", "add-module-exports"] } diff --git a/package.json b/package.json index d666aa35..dee6ecce 100644 --- a/package.json +++ b/package.json @@ -66,6 +66,7 @@ "babel-core": "^6.14.0", "babel-eslint": "^6.1.0", "babel-loader": "^6.2.5", + "babel-plugin-add-module-exports": "^0.2.1", "babel-plugin-transform-async-to-generator": "^6.16.0", "babel-plugin-transform-class-properties": "^6.16.0", "babel-plugin-transform-object-rest-spread": "^6.16.0",