Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improves the logic to import objects in helpers (#10161)
* Improves the logic to import objects in helpers * Modified to work with more cases. * Modified by considering exception cases * Fixed not using bundler's polyfill Co-Authored-By: Jordan Harband <ljharb@gmail.com> * Updated test output files * Changes to cache logic * Modified to use if statement
- Loading branch information
1 parent
ba2c0f7
commit 9ec26a7
Showing
5 changed files
with
44 additions
and
19 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
4 changes: 3 additions & 1 deletion
4
...preset-env/test/fixtures/dynamic-import/auto-esm-unsupported-import-unsupported/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
4 changes: 3 additions & 1 deletion
4
packages/babel-preset-env/test/fixtures/dynamic-import/modules-amd/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
4 changes: 3 additions & 1 deletion
4
packages/babel-preset-env/test/fixtures/dynamic-import/modules-cjs/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