Skip to content

armgit / 67.js

Public Imported from GitHub
0

3D engine that AI agents drive

Reset the size budgets after removing the film entry

Nguyen Xuan An9aee3766fdfa
diff --git a/ROADMAP.md b/ROADMAP.md
index 73b01c54..16c5af14 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -53,4 +53,4 @@ Blender is the visual quality reference for authored scenes. Rendering parity an
## Package size
-Large features that carry data or a heavy dependency should ship as separate optional packages (for example `@codepawlhq/67js-film`), not as more entries of the main archive. Lazy loading alone does not help here: a lazy chunk still sits in the same npm archive, so it saves page weight but not the 1 MiB archive budget. A separate package does both, and users who never import it never download it. The cost is a second version to release and a peer range to keep in step, so small code-only addons (a few tens of KB gzip) stay in the main package. The film demo left the main archive for this reason. Three.js is still bundled into the `modeling`, `surface`, `shrinkwrap` and `mesh-query` addons and into the MCP preview (about 54 KB gzip each place it is copied); making it an optional peer would save that space and is the next candidate.
+Large features that carry data or a heavy dependency should ship as separate optional packages (for example `@codepawlhq/67js-film`), not as more entries of the main archive. Lazy loading alone does not help here: a lazy chunk still sits in the same npm archive, so it saves page weight but not the 1 MiB archive budget. A separate package does both, and users who never import it never download it. The cost is a second version to release and a peer range to keep in step, so small code-only addons (a few tens of KB gzip) stay in the main package. The film demo left the main archive for this reason.
diff --git a/bench/size/baseline.json b/bench/size/baseline.json
index 85f89f6e..3d451328 100644
--- a/bench/size/baseline.json
+++ b/bench/size/baseline.json
@@ -14,9 +14,9 @@
},
"bundles": {
"entry:core": {
- "min": 232566,
- "gzip": 65748,
- "brotli": 56045
+ "min": 232549,
+ "gzip": 65747,
+ "brotli": 56178
},
"entry:model": {
"min": 40093,
@@ -28,11 +28,6 @@
"gzip": 12874,
"brotli": 10578
},
- "entry:film": {
- "min": 333097,
- "gzip": 84516,
- "brotli": 68340
- },
"entry:motion": {
"min": 39159,
"gzip": 13304,
diff --git a/bench/size/budgets.json b/bench/size/budgets.json
index 4c45d822..6c3a53dd 100644
--- a/bench/size/budgets.json
+++ b/bench/size/budgets.json
@@ -8,7 +8,6 @@
"entry:core": 67100,
"entry:model": 14400,
"entry:nature": 13200,
- "entry:film": 86300,
"entry:motion": 13600,
"entry:canvas2d": 9400,
"entry:gltf": 44100,