Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix `@babel/register` compat with ESM build * Fix `@babel/node` compat with ESM build
- Loading branch information
1 parent
a34a5ae
commit bcf8b22
Showing
14 changed files
with
52 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
packages/babel-node/test/fixtures/cli/--config-file/in-files/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// See https://github.com/babel/babel/pull/14025#issuecomment-986296424 | ||
// for the reason behind using setImmediate. | ||
setImmediate(() => console.log("foo")); | ||
// for the reason behind using setTimeout. | ||
setTimeout(() => console.log("foo"), 50); |
4 changes: 2 additions & 2 deletions
4
packages/babel-node/test/fixtures/cli/--env-name/in-files/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// See https://github.com/babel/babel/pull/14025#issuecomment-986296424 | ||
// for the reason behind using setImmediate. | ||
setImmediate(() => console.log("foo")); | ||
// for the reason behind using setTimeout. | ||
setTimeout(() => console.log("foo"), 50); |
4 changes: 2 additions & 2 deletions
4
packages/babel-node/test/fixtures/cli/--presets/in-files/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// See https://github.com/babel/babel/pull/14025#issuecomment-986296424 | ||
// for the reason behind using setImmediate. | ||
setImmediate(() => console.log("foo")); | ||
// for the reason behind using setTimeout. | ||
setTimeout(() => console.log("foo"), 50); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// See https://github.com/babel/babel/pull/14025#issuecomment-986296424 | ||
// for the reason behind using setImmediate. | ||
setImmediate(() => console.log("foo")); | ||
// for the reason behind using setTimeout. | ||
setTimeout(() => console.log("foo"), 50); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,12 +44,6 @@ | |
{ | ||
"exports": null | ||
} | ||
], | ||
"USE_ESM": [ | ||
{ | ||
"type": "module" | ||
}, | ||
null | ||
] | ||
}, | ||
"exports": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters