Repository navigation
gxt: the native dist leaves out the Glimmer compiler entries; the compat bridge imports gxt by name - #33
Merged
Conversation
…er entries ember-template-compiler, @ember/template-compiler/lib/*, its primitives and the classic renderer's private barrel have no native meaning; the package build pruned them with the ~310 KB compiler chunk only they reach, the dist now never emits them. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…does not ship Whether the dist never emitted it or the package build pruned it, so the Vite preset refuses ember-template-compiler and the classic renderer barrel either way. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…name gxt 0.0.88 exports them, so the namespace object the by-name reads went through is gone. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
📊 Size reportTarball size — dist/dev No changes
dist/prod No changes
smoke-tests/v2-app-template/dist No changes
smoke-tests/v2-app-hello-world-template/dist No changes
🤖 This report was automatically generated by wyvox/pkg-size |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Two changes to the gxt builds of emberjs#21340. They change only Ember and run on the pinned
@lifeart/gxt0.0.88; they need no gxt release.The gxt-native dist leaves out the Glimmer wire-format compiler entries
ember-template-compiler,@ember/template-compiler/lib/*,@ember/template-compiler/-internal-primitivesand the classic renderer's private barrel@ember/-internals/glimmercompile templates to Glimmer wire format, which the native layer does not render. The native package build already pruned them, together with the ~310 KB compiler chunk that only they reach. The rollup dist now never emits them:GXT_NATIVE_DIST_DROPPED_ENTRY_PATTERNSinscripts/gxt-alias-map.mjs. The native runtime compiler,@ember/template-compileritself, stays.gxt-native-contract.json) names every non-app entry the package does not ship, whether the dist never emitted it or the prune removed it. The Vite preset refuses each of them with its reason, as before.scripts/bundle-budgets.json: the gxt-native budget is re-baselined at the measured floor + 5%, the method the earlier budget updates used. The budget goes from 177,500 to 115,599 brotli.The compat bridge imports gxt's argument-source helpers by name
gxt-next-exports.tsreadargSource,argumentOfandisItemSlotParamthroughimport * as gxt, with a fallback for a gxt that lacked them.Verification
The checks of this PR, and GXT Full dispatched on its head (
9fcceeb350), all against the npm@lifeart/gxt0.0.88:diff -rq, 290 files); the native dist is VM-free and within budgetorigin/main, which this fork does not have (fatal: ambiguous argument 'origin/main'); the job runs only on pull requestsBytes, brotli, against the base
5b8170e746(the head of emberjs#21340) on the same gxt:🤖 Generated with Claude Code