OptionalwasmURL the Jolt .wasm is served from — e.g. copy
node_modules/jolt-physics/dist/jolt-physics.wasm.wasm into your public dir
and pass '/assets/jolt-physics.wasm'.
OptionalwasmThe Jolt .wasm bytes, if you'd rather fetch them yourself. Takes
precedence over wasmUrl; avoids any bundler asset handling entirely.
Options for locating the Jolt
.wasmwhen initializing physics. Omit entirely when building with Vite — the default path uses Vite's?urlasset handling to emit, hash, and fetch the.wasmautomatically. Supply one of these only for non-Vite bundlers (webpack/rollup/esbuild/…) or to self-host the file (CDN, custom public path), since the?urlimport is a Vite-ism other bundlers don't understand.