PlayCanvas and Babylon.JS commonly use non-module type script tags with global namespaces. Currently, the Looking Glass WebXR library only outputs a module based script.
Browserify is a toolset that can convert module-based output to global namespaces.
PlayCanvas and Babylon.JS commonly use non-module type script tags with global namespaces. Currently, the Looking Glass WebXR library only outputs a module based script.
Browserify is a toolset that can convert module-based output to global namespaces.
This was implemented for PlayCanvas' UI components: https://github.com/playcanvas/pcui/blob/main/BUILDGUIDE.md