Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update babel-plugin-proposal-dynamic-import fixture test outputs * Update package.json files Co-authored-by: Arun Kumar Mohan <arunmohandm@gmail.com>
- Loading branch information
1 parent
5300880
commit 5b8477e
Showing
10 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
packages/babel-plugin-proposal-dynamic-import/test/fixtures/commonjs/module/output.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 @@ | ||
"use strict"; | ||
|
||
var modP = Promise.resolve().then(() => babelHelpers.interopRequireWildcard(require("mod"))); | ||
var modP = Promise.resolve("mod").then(s => babelHelpers.interopRequireWildcard(require(s))); |
2 changes: 1 addition & 1 deletion
2
packages/babel-plugin-proposal-dynamic-import/test/fixtures/commonjs/no-interop/output.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 +1 @@ | ||
var modP = Promise.resolve().then(() => require("mod")); | ||
var modP = Promise.resolve("mod").then(s => require(s)); |
2 changes: 1 addition & 1 deletion
2
packages/babel-plugin-proposal-dynamic-import/test/fixtures/commonjs/script/output.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 +1 @@ | ||
var modP = Promise.resolve().then(() => babelHelpers.interopRequireWildcard(require("mod"))); | ||
var modP = Promise.resolve("mod").then(s => babelHelpers.interopRequireWildcard(require(s))); |
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
2 changes: 1 addition & 1 deletion
2
packages/babel-plugin-proposal-dynamic-import/test/fixtures/commonjs/to-string/output.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 +1 @@ | ||
Promise.resolve().then(() => babelHelpers.interopRequireWildcard(require(`${2}`))); | ||
Promise.resolve(`${2}`).then(s => babelHelpers.interopRequireWildcard(require(s))); |
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
...preset-env/test/fixtures/dynamic-import/auto-esm-unsupported-import-unsupported/output.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
packages/babel-preset-env/test/fixtures/dynamic-import/modules-cjs/output.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.