[claude] Vite build system: bundle Three.js, remove CDN dependency (#61) #89
Reference in New Issue
Block a user
Delete Branch "claude/issue-61"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #61
Summary
The
the-matrixapp already had most of the Vite build system in place onmain(bare specifier imports,package.jsonwiththree@0.171.0,vite.config.js). This PR addresses the remaining gap:dist/from git: Thedist/directory was previously committed but.gitignorealready listed it. Runninggit rm --cachedremoves it from version control so build outputs are no longer in the repo.package-lock.json: Regenerated after cleannpm installwith the declared dependencies.Verification
npm run buildproduces a workingdist/with all Three.js assets bundled locallyesm.shor CDN URLs remain in any source filethreeversion locked at0.171.0inpackage.jsondist/andnode_modules/are in.gitignoreand no longer tracked in git