Looking-Glass / looking-glass-webxr

WebXR for Looking Glass displays
https://docs.lookingglassfactory.com/developer-tools/webxr
Apache License 2.0
66 stars 16 forks source link

Implement Browserify for better support with non module type script tags. #30

Open BryanChrisBrown opened 1 year ago

BryanChrisBrown commented 1 year ago

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