ifcurl/forgejo/viewer-deps-entry.js
Bruno Postle 4ef7987ad1 viewer: bundle JS deps locally — removes all CDN dependencies
Replace importmap pointing at esm.sh/unpkg with locally-bundled files
built from pinned npm packages (package.json + lockfile). Run
`cd forgejo && npm install && npm run build` to regenerate after a
version bump. Tracked in ifcurl-dkz: fast-xml-parser CVEs in
@thatopen/components 3.3.1 should be addressed in a follow-up upgrade.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-25 18:24:50 +01:00

6 lines
331 B
JavaScript

// Entry point bundled by build.js into viewer-deps.js.
// Re-exports the three viewer dependencies as named namespace exports so
// viewer.html can do: import { THREE, OBC, JSZip } from "/assets/viewer-deps.js"
export * as THREE from "three";
export * as OBC from "@thatopen/components";
export { default as JSZip } from "jszip";