Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Thoroughly improve import resolution (#2584)
* Add modules to variables to make resolution easier * Improve handling of missing exports, add module references to variables to simplify tracing * Simplify namespace handling and prevent name conflicts with other imports when creating a namespace object * Directly register imported variables during tree-shaking to only import variables into modules that actually use them. Get rid of variable tracing logic on chunks. * Fix dynamic namespace imports when preserving modules Also, do not inline the execution list when preserving modules * Ensure proper execution order by always adding all direct dependencies and sorting only once all dependencies have been added
- Loading branch information
1 parent
c87132b
commit f58d1e6
Showing
254 changed files
with
1,263 additions
and
669 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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.