Skip to content

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Mar 10, 2025

Related issue: -

Description

Moves examples/jsm/physics and the remaining modules in examples/jsm/tsl.

The examples/jsm/transpiler directory contains modules which have an internal character and are not relevant to apps. I just documented the Transpiler.js class for now which is the entry point for app level code.

Copy link

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 336.02
78.26
336.02
78.26
+0 B
+0 B
WebGPU 523.97
145.47
523.99
145.48
+21 B
+5 B
WebGPU Nodes 523.44
145.37
523.46
145.38
+21 B
+5 B

🌳 Bundle size after tree-shaking

Minimal build including a renderer, camera, empty scene, and dependencies.

Before After Diff
WebGL 465.06
112.14
465.06
112.14
+0 B
+0 B
WebGPU 594.38
161.08
594.38
161.08
+0 B
+0 B
WebGPU Nodes 549.5
150.51
549.5
150.51
+0 B
+0 B

@Mugen87 Mugen87 merged commit 42d0ee3 into mrdoob:dev Mar 10, 2025
12 checks passed
@Mugen87 Mugen87 added this to the r175 milestone Mar 10, 2025
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