Skip to content

Externalize three/addons from bundle#336

Merged
dmarcos merged 1 commit into
sparkjsdev:mainfrom
mrxz:fix-three-addon-external
May 11, 2026
Merged

Externalize three/addons from bundle#336
dmarcos merged 1 commit into
sparkjsdev:mainfrom
mrxz:fix-three-addon-external

Conversation

@mrxz

@mrxz mrxz commented May 6, 2026

Copy link
Copy Markdown
Collaborator

Imports from three/addons were not treated as external during build, meaning the final bundle included things like FullScreenQuad. This PR simply expands the external list with a regex matching anything imported from three/addons. Helps a bit with reducing the bundle size (#321)

@dmarcos

dmarcos commented May 11, 2026

Copy link
Copy Markdown
Contributor

Thanks!

@dmarcos
dmarcos merged commit 033051e into sparkjsdev:main May 11, 2026
2 checks 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.

2 participants