Skip to content

Refactor so that small apps don't pull in the old renderer as well as some classic things#21462

Draft
NullVoxPopuli wants to merge 1 commit into
mainfrom
nvp/cleanup-3
Draft

Refactor so that small apps don't pull in the old renderer as well as some classic things#21462
NullVoxPopuli wants to merge 1 commit into
mainfrom
nvp/cleanup-3

Conversation

@NullVoxPopuli

@NullVoxPopuli NullVoxPopuli commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Still exploring ways to hint to bundlers that they can remove unused things

@NullVoxPopuli NullVoxPopuli changed the title Some refactoring Some /* @__PURE__ */ decoration Jun 11, 2026
@github-actions

github-actions Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

📊 Size report

Tarball size1.2 MB1.2 MB

dist/dev   0.2%↑

File Before (Size / Brotli) After (Size / Brotli)
./packages/@ember/application/instance.js 15 kB / 4.1 kB 6%↑15.9 kB / 6%↑4.4 kB
./packages/@ember/component/helper.js 84 B / 88 B 12,800%↑10.8 kB / 3,810%↑3.4 kB
./packages/shared-chunks/api-{hash}.js 10 kB / 2.1 kB 147%↑24.8 kB / 156%↑5.4 kB
./packages/shared-chunks/curly-brand-B_F79Dep.js 459 B / 220 B
./packages/shared-chunks/helper-{hash}.js 10.9 kB / 3.5 kB -95.6%↓487 B / -92.7%↓252 B
./packages/shared-chunks/index-{hash}.js 78.5 kB / 19 kB -20.3%↓62.5 kB / -34.3%↓12.5 kB
./packages/shared-chunks/outlet-Dz9cEkL4.js 4.2 kB / 1.4 kB
./packages/shared-chunks/setup-{hash}.js 2.8 kB / 907 B 1,050%↑31.8 kB / 827%↑8.4 kB
./packages/shared-chunks/template-{hash}.js 1.1 kB / 401 B -54%↓491 B / -49.4%↓203 B
Total (Includes all files) 2.1 MB / 491.9 kB 0.2%↑2.1 MB / 0.6%↑494.7 kB

dist/prod   0.2%↑

File Before (Size / Brotli) After (Size / Brotli)
./packages/@ember/application/instance.js 14.2 kB / 4 kB 5%↑14.9 kB / 5%↑4.2 kB
./packages/@ember/component/helper.js 84 B / 83 B 12,000%↑10.1 kB / 3,880%↑3.3 kB
./packages/shared-chunks/cache-{hash}.js 9.9 kB / 2.8 kB -93%↓697 B / -90.8%↓258 B
./packages/shared-chunks/curly-brand-B_F79Dep.js 459 B / 220 B
./packages/shared-chunks/helper-{hash}.js 10.2 kB / 3.3 kB -95.2%↓487 B / -92.4%↓252 B
./packages/shared-chunks/index-{hash}.js 66.4 kB / 16.3 kB -10%↓59.8 kB / -25.7%↓12.1 kB
./packages/shared-chunks/outlet-CKoYq57r.js 3.9 kB / 1.3 kB
./packages/shared-chunks/setup-{hash}.js 2.6 kB / 861 B 963%↑27.5 kB / 752%↑7.3 kB
Total (Includes all files) 1.9 MB / 450 kB 0.2%↑1.9 MB / 0.5%↑452.3 kB

smoke-tests/v2-app-hello-world-template/dist   -4.07%↓

File Before (Size / Brotli) After (Size / Brotli)
./assets/main-{hash}.js 158.7 kB / 43.6 kB -4.08%↓152.3 kB / -3.64%↓42.1 kB
Total (Includes all files) 159.1 kB / 43.8 kB -4.07%↓152.6 kB / -3.63%↓42.2 kB

🤖 This report was automatically generated by wyvox/pkg-size

@NullVoxPopuli NullVoxPopuli changed the title Some /* @__PURE__ */ decoration Refactor so that small apps don't pull in the old renderer as well as some classic things Jun 11, 2026
part tue

ope
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant