Skip to content

Commit

Permalink
[Fix] properly build module.exports
Browse files Browse the repository at this point in the history
Fixes #824. See #819 (comment)
  • Loading branch information
ljharb committed Nov 10, 2021
1 parent f8c4001 commit 8f7d0b0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .babelrc
Expand Up @@ -9,5 +9,8 @@
}
]
],
"plugins": ["@babel/plugin-transform-flow-strip-types"]
"plugins": [
"@babel/plugin-transform-flow-strip-types",
"add-module-exports"
]
}
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -37,6 +37,7 @@
"@babel/plugin-transform-flow-strip-types": "^7.16.0",
"aud": "^1.1.5",
"babel-jest": "^24.9.0",
"babel-plugin-add-module-exports": "^1.0.4",
"babel-preset-airbnb": "^5.0.0",
"eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8",
"eslint-config-airbnb-base": "^15.0.0",
Expand Down

0 comments on commit 8f7d0b0

Please sign in to comment.