# Rebuild

Requires Node.js and npm. In source/, run `npm ci --ignore-scripts`, then `npm run build`. This builds dist/js/main.js and its license sidecar. Copy them to ../js/ and retain js/EngineWorklet.js plus the models, sounds, sprites, CSS and HTML. Exact dependencies are locked; npm verifies integrity. The original archive is upstream-source.zip. The repository recipe scripts/package-kenney-time-trial.ts performs the documented source patches and full packaging from that archive extraction. No source maps or network runtime modules are required.
