Skip to content

Conversation

@sunag
Copy link
Collaborator

@sunag sunag commented Aug 7, 2025

Related issue: #30849

Description

Improve error message for operators with void values.

material.colorNode = add( 1, Fn( () => {} )() );

New

image

Old

image

@sunag sunag mentioned this pull request Aug 7, 2025
12 tasks
@github-actions
Copy link

github-actions bot commented Aug 7, 2025

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 338.63
79.03
338.63
79.03
+0 B
+0 B
WebGPU 567.9
157.11
567.91
157.09
+13 B
-20 B
WebGPU Nodes 566.51
156.86
566.52
156.84
+13 B
-20 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 470.38
113.78
470.38
113.78
+0 B
+0 B
WebGPU 641.64
173.58
641.65
173.56
+13 B
-18 B
WebGPU Nodes 596.28
162.88
596.3
162.86
+13 B
-21 B

@sunag sunag marked this pull request as ready for review August 7, 2025 01:54
@sunag sunag added this to the r180 milestone Aug 7, 2025
@sunag sunag merged commit 7d8b148 into mrdoob:dev Aug 7, 2025
9 checks passed
@sunag sunag deleted the dev-operator-node branch August 7, 2025 01:54
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