Skip to content

Commit

Permalink
Fix @babel/helper-plugin-test-runner exports
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Dec 5, 2021
1 parent fafe4e9 commit e3ccc40
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
1 change: 1 addition & 0 deletions constraints.pro
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,6 @@ gen_enforced_field(WorkspaceCwd, 'exports', '{ ".": "./lib/index.js", "./package
WorkspaceIdent \= '@babel/eslint-parser',
WorkspaceIdent \= '@babel/compat-data',
WorkspaceIdent \= '@babel/plugin-transform-react-jsx', % TODO: Remove in Babel 8
WorkspaceIdent \= '@babel/helper-plugin-test-runner', % TODO: Remove in Babel 8
WorkspaceIdent \= '@babel/standalone',
\+ atom_concat('@babel/runtime', _, WorkspaceIdent).
14 changes: 9 additions & 5 deletions packages/babel-helper-plugin-test-runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,18 @@
"author": "The Babel Team (https://babel.dev/team)",
"conditions": {
"BABEL_8_BREAKING": [
null,
{
"exports": {
".": {
"import": "./esm.mjs",
"default": "./lib/index.js"
},
"./package.json": "./package.json"
}
},
{
"exports": null
}
]
},
"exports": {
".": "./lib/index.js",
"./package.json": "./package.json"
}
}

0 comments on commit e3ccc40

Please sign in to comment.