Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add hook to rewrite dynamic import expressions (#3449)
* Do not strip JS extensions for AMD if the user returns a replacement string in resolveDynamicImport * Get rid of default plugin * Support custom rendering for dynamic imports * Add dynamic imports to getModuleInfo, resolves #3232 * Improve coverage * Add documentation * Deprecate `dynamicImportFunction` * Slightly improve performance
- Loading branch information
1 parent
485700e
commit 28ffcf4
Showing
70 changed files
with
727 additions
and
402 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
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 |
---|---|---|
|
@@ -136,7 +136,6 @@ const outputOptions = { | |
|
||
// danger zone | ||
amd, | ||
dynamicImportFunction, | ||
esModule, | ||
exports, | ||
freeze, | ||
|
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
Oops, something went wrong.