Skip to content

Commit

Permalink
Revert babel-plugin-add-module-exports plugin for babel build
Browse files Browse the repository at this point in the history
  • Loading branch information
yhatt committed Jan 9, 2018
1 parent e6a85c1 commit 79bc6ff
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .babelrc
Expand Up @@ -10,14 +10,20 @@
}
]
],
"plugins": [["transform-object-rest-spread", { "useBuiltIns": true }]],
"plugins": [
["transform-object-rest-spread", { "useBuiltIns": true }],
"add-module-exports"
],
"env": {
"test": {
"presets": [
["env", { "targets": { "node": "current" }, "useBuiltIns": true }],
"babel-preset-power-assert"
],
"plugins": ["istanbul"]
"plugins": [
["transform-object-rest-spread", { "useBuiltIns": true }],
"istanbul"
]
}
}
}
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -45,6 +45,7 @@
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-istanbul": "^4.1.5",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
Expand Down
4 changes: 4 additions & 0 deletions yarn.lock
Expand Up @@ -426,6 +426,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-check-es2015-constants@^6.22.0:
version "6.22.0"
resolved "https://registry.yarnpkg.com/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz#35157b101426fd2ffd3da3f75c7d1e91835bbf8a"
Expand Down

0 comments on commit 79bc6ff

Please sign in to comment.