Repository navigation
bundler(splitting): files run in different orders do not share a chunk #44820
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
9daceb5
bundler(splitting): run a shared chunk in the order of each entry poi…
dylan-conway 29dd016
bundler(splitting): look for order conflicts again only when who load…
dylan-conway 7a96a39
bundler(splitting): rename the order conflict pass and its helpers
dylan-conway fc31980
bundler: delete the helpers the wrapper prefix no longer uses, update…
dylan-conway ff0a23a
bundler: await an async `export *`, keep a handler on started wrapper…
dylan-conway 1f0b284
docs(bundler): say which `import()` target decides the order of a sha…
dylan-conway b11cd04
bundler: a chunk's module record counts the `await` of a wrapper as a…
dylan-conway 428cf03
bundler: every file of an import cycle that reaches a top-level await…
dylan-conway 7fd70c9
test(bundler): what a wrapper imports from another chunk runs where t…
dylan-conway e9644d0
bundler: call a wrapper that is behind an `import` whose target does …
dylan-conway 2ca8cf7
bundler(splitting): a file that calls `require()` at load comes befor…
dylan-conway 55f821a
bundler: evaluate the wrappers of async modules as the specification …
dylan-conway 6758115
docs(bundler): say what the order of a shared chunk covers, and what …
dylan-conway 0c3d7fc
bundler: below a wrapper, a file prints where an `import` runs it
dylan-conway e3b90e3
bundler: name the parameters of `runs_with` `importer` and `imported`
dylan-conway 26f9a8b
bundler: an `import()` in a running body does not wait for that body
dylan-conway 8127841
bundler: `__esmAsync` releases the modules that wait in linear time
dylan-conway f1d9a03
bundler: async wrappers are `__esm(async () => { ... })` again
dylan-conway 96d4a17
bundler: an `import()` is no part of an async cycle, and a `require()…
dylan-conway 7a6c312
bundler(splitting): files that entry points run in different orders d…
dylan-conway 6ac260f
bundler(splitting): a build where no chunk is split prints as before
dylan-conway 4921fcb
bundler(splitting): an entry point whose file is in another chunk ran…
dylan-conway 753a6da
bundler(splitting): only plain files are split off
dylan-conway 7b9d369
bundler(splitting): files that a split `require()` loads are not spli…
dylan-conway d7e2ae7
bundler(splitting): every counted file of a split group is split off
dylan-conway File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.