[PENDING VALIDATION] Factor large repeated values in manifests#1186
[PENDING VALIDATION] Factor large repeated values in manifests#1186
Conversation
🦋 Changeset detectedLatest commit: 8371be5 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
commit: |
…ry files, and chunks arrays - Replace empty edgeSSRModuleMapping/edgeRscModuleMapping with shared __EMPTY variable - Factor entryCSSFiles and entryJSFiles through existing factorManifestValue - Deduplicate repeated chunks arrays within module mappings into shared c_<hash> variables Builds on opennextjs#1186 (vicb/dedup).
conico974
left a comment
There was a problem hiding this comment.
Approving to unblock, but I feel like this is not the right solution.
Maybe we could use a proxy, to keep a single map of values ?
I was not sure if all the values are shared for the same key across different routes. |
|
@vicb Yeah I'm not sure either, but I don't think it is the case every time. |
|
See #1215 instead |
There could be large repeared values in
page_client-reference-manifest.jsmanifests.This PR factor those values into separate variables to reduce the generated code size.