Skip to content

fix(front): load with the classic three (lazy ContourTilesNode); 3.6.1 - #857

Merged
agviegas merged 1 commit into
mainfrom
port/front-webgl-safe
Nov 8, 2026
Merged

agviegas merged 1 commit into
mainfrom
port/front-webgl-safe

Conversation

@agviegas

@agviegas agviegas commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

ContourTilesNode extended THREE.Node, which exists only in three's WebGPU build, and was declared as the module loaded: any app importing @thatopen/components-front with the classic three stopped at load with «Class extends value undefined», WebGL or not.

The class is now made the first time it is asked for, which only happens on the WebGPU path, where three is that build. No new imports. Published as 3.6.1.

Checked: the built composition chunk loads with the classic three; an app created with thatopen create on the public packages starts inside the platform with no console errors.

🤖 Generated with Claude Code

…package loads with the classic three; 3.6.1

THREE.Node exists only in three's WebGPU build, and the class was declared as the module loaded: an app with the classic three stopped with «Class extends value undefined», WebGL or not.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@agviegas
agviegas merged commit 7dea8fe into main Nov 8, 2026
1 check passed
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