-
Notifications
You must be signed in to change notification settings - Fork 27.4k
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
Make ChunkItem
s reference only OutputAssets
#73824
Make ChunkItem
s reference only OutputAssets
#73824
Conversation
96caf92
to
c009176
Compare
Tests Passed |
Stats from current PRDefault BuildGeneral
Client Bundles (main, webpack)
Legacy Client Bundles (polyfills)
Client Pages
Client Build Manifests
Rendered Page Sizes
Edge SSR bundle Size
Middleware size
Next Runtimes
build cache
Diff detailsDiff for page.jsDiff too large to display Diff for middleware.jsDiff too large to display Diff for edge-ssr.jsDiff too large to display Diff for 1187-HASH.jsDiff too large to display Diff for main-HASH.jsDiff too large to display Diff for app-page-exp..ntime.dev.jsfailed to diff Diff for app-page-exp..time.prod.jsDiff too large to display Diff for app-page-tur..time.prod.jsDiff too large to display Diff for app-page-tur..time.prod.jsDiff too large to display Diff for app-page.runtime.dev.jsDiff too large to display Diff for app-page.runtime.prod.jsDiff too large to display Diff for app-route-ex..ntime.dev.jsDiff too large to display Diff for app-route-ex..time.prod.jsDiff too large to display Diff for app-route-tu..time.prod.jsDiff too large to display Diff for app-route-tu..time.prod.jsDiff too large to display Diff for app-route.runtime.dev.jsDiff too large to display Diff for app-route.ru..time.prod.jsDiff too large to display Diff for pages-turbo...time.prod.jsDiff too large to display Diff for pages.runtime.dev.jsDiff too large to display Diff for pages.runtime.prod.jsDiff too large to display Diff for server.runtime.prod.jsDiff too large to display |
turbopack/crates/turbopack-ecmascript/src/async_chunk/chunk_item.rs
Outdated
Show resolved
Hide resolved
turbopack/crates/turbopack-ecmascript/src/chunk_group_files_asset.rs
Outdated
Show resolved
Hide resolved
turbopack/crates/turbopack-ecmascript/src/references/external_module.rs
Outdated
Show resolved
Hide resolved
turbopack/crates/turbopack-ecmascript/src/worker_chunk/chunk_item.rs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good
a83ec6f
to
f0a44e2
Compare
This: - Changes `ChunkItem`’s `references` implementation to only allow items to reference `OutputAssets` - Implements a default `references` that returns an empty set of output assets - Updates logic for using these output assets in `make_chunk_group` - [ ] Moves logic for using the inner module’s references into areas that need it
ef84a43
to
ef5df66
Compare
Co-authored-by: Tobias Koppers <[email protected]>
ef5df66
to
1b0f61b
Compare
Co-authored-by: Tobias Koppers <[email protected]>
…em.rs Co-authored-by: Tobias Koppers <[email protected]>
Co-authored-by: Niklas Mischkulnig <[email protected]>
8d81afb
to
a7f5d69
Compare
This:
ChunkItem
’sreferences
implementation to only allow items to referenceOutputAssets
references
that returns an empty set of output assetsmake_chunk_group
Closes PACK-3664