Skip to content

Commit

Permalink
Merge pull request #40 from JoshuaKGoldberg/add-module-exports
Browse files Browse the repository at this point in the history
fix: add babel-plugin-add-module-exports
  • Loading branch information
JoshuaKGoldberg committed Jul 2, 2023
2 parents 128a153 + 446fc87 commit 517af34
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"env": {
"legacy": {
"plugins": [["add-module-exports", { "addDefaultProperty": true }]],
"presets": [
[
"@babel/preset-env",
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"@babel/core": "^7.21.8",
"@babel/plugin-transform-flow-comments": "^7.22.5",
"@babel/preset-env": "^7.21.5",
"babel-plugin-add-module-exports": "^1.0.4",
"babel-plugin-tester": "^11.0.4",
"eslint": "^8.41.0",
"eslint-plugin-ft-flow": "^2.0.3",
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1526,6 +1526,11 @@ babel-jest@^29.5.0:
graceful-fs "^4.2.9"
slash "^3.0.0"

babel-plugin-add-module-exports@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/babel-plugin-add-module-exports/-/babel-plugin-add-module-exports-1.0.4.tgz#6caa4ddbe1f578c6a5264d4d3e6c8a2720a7ca2b"
integrity sha512-g+8yxHUZ60RcyaUpfNzy56OtWW+x9cyEe9j+CranqLiqbju2yf/Cy6ZtYK40EZxtrdHllzlVZgLmcOUCTlJ7Jg==

babel-plugin-istanbul@^6.1.1:
version "6.1.1"
resolved "https://registry.yarnpkg.com/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz#fa88ec59232fd9b4e36dbbc540a8ec9a9b47da73"
Expand Down

0 comments on commit 517af34

Please sign in to comment.