Skip to content

threeGlobal

threeGlobal(dir): string | null

three.js as one classic script that sets the global THREE, made from its ES module build (three.core.js + three.module.js: one export list, one import and one re-export from the core). Any other shape (a future three.js): null, so the page gets a clear 404 instead of a broken build.

string

string | null