diff --git a/.babelrc b/.babelrc index b207aef..aa585e0 100644 --- a/.babelrc +++ b/.babelrc @@ -1,5 +1,8 @@ { "presets": [ "env" + ], + "plugins": [ + "add-module-exports" ] } diff --git a/package.json b/package.json index 80d05f6..2bd8d1d 100644 --- a/package.json +++ b/package.json @@ -44,6 +44,7 @@ "devDependencies": { "ava": "^0.18.2", "babel-cli": "^6.26.0", + "babel-plugin-add-module-exports": "^0.2.1", "babel-polyfill": "^6.23.0", "babel-preset-env": "^1.2.1", "coveralls": "^2.12.0", diff --git a/yarn.lock b/yarn.lock index a5d79f8..4f55d36 100644 --- a/yarn.lock +++ b/yarn.lock @@ -472,6 +472,10 @@ babel-messages@^6.23.0: dependencies: babel-runtime "^6.22.0" +babel-plugin-add-module-exports@^0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/babel-plugin-add-module-exports/-/babel-plugin-add-module-exports-0.2.1.tgz#9ae9a1f4a8dc67f0cdec4f4aeda1e43a5ff65e25" + babel-plugin-ava-throws-helper@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/babel-plugin-ava-throws-helper/-/babel-plugin-ava-throws-helper-1.0.0.tgz#8fe6e79d2fd19838b5c3649f89cfb03fd563e241"