inline-kit.mjs
Tools · Edit, render, publish · MIT
- What it does
Returns the kit, the WebGL layer and the 3D runtime as source text with their export keywords removed, so a build script can inline them into one standalone HTML page with no outside files.
- Get it
import { kitScript, glScript, turnScript } from './scripts/inline-kit.mjs'; pageHtml({ script: kitScript() + live })
- Needs (the whole pack)
Node 20.10 or later for builds and checks, with nothing to npm install. Chrome for the checking scripts. React only for the React output. No API keys.
- License
MIT
- From