-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support merging imports in import injector (#16349)
Co-authored-by: Conrad Buck <conartist6@gmail.com> Co-authored-by: Babel Bot <babel-bot@users.noreply.github.com>
- Loading branch information
1 parent
3eb24fd
commit c04eccf
Showing
22 changed files
with
295 additions
and
84 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
3 changes: 1 addition & 2 deletions
3
...proposal-import-wasm-source/test/fixtures/node-esm/import-declaration-multiple/output.mjs
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,5 +1,4 @@ | ||
import { readFileSync as _readFileSync2 } from "fs"; | ||
import { readFileSync as _readFileSync } from "fs"; | ||
import { readFileSync as _readFileSync, readFileSync as _readFileSync2 } from "fs"; | ||
const s = new WebAssembly.Module(_readFileSync(new URL(import.meta.resolve("./x.wasm")))), | ||
s2 = new WebAssembly.Module(_readFileSync2(new URL(import.meta.resolve("./x2.wasm")))); | ||
someBody; |
3 changes: 1 addition & 2 deletions
3
...lugin-proposal-json-modules/test/fixtures/node-esm/import-declaration-multiple/output.mjs
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,5 +1,4 @@ | ||
import { readFileSync as _readFileSync2 } from "fs"; | ||
import { readFileSync as _readFileSync } from "fs"; | ||
import { readFileSync as _readFileSync, readFileSync as _readFileSync2 } from "fs"; | ||
const j = JSON.parse(_readFileSync(new URL(import.meta.resolve("./x.json")))), | ||
j2 = JSON.parse(_readFileSync2(new URL(import.meta.resolve("./x2.json")))); | ||
someBody; |
3 changes: 1 addition & 2 deletions
3
...cord-and-tuple/test/fixtures/import-polyfill/custom-name-implies-should-import/output.mjs
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
3 changes: 1 addition & 2 deletions
3
...bel-plugin-proposal-record-and-tuple/test/fixtures/import-polyfill/custom-name/output.mjs
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
3 changes: 1 addition & 2 deletions
3
...el-plugin-proposal-record-and-tuple/test/fixtures/import-polyfill/default-name/output.mjs
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
Oops, something went wrong.