immersive-web / webxr-polyfill

Use the WebXR Device API today, providing fallbacks to native WebVR 1.1 and Cardboard
Apache License 2.0
386 stars 86 forks source link

Configure build system to handle gl-matrix for subsequent changes #18

Closed jsantell closed 6 years ago

jsantell commented 6 years ago

This fixes the issue with building gl-matrix both for prod and testing; when using functions, e.g. import * as vec3 from 'gl-matrix/src/gl-matrix/vec3.js' only the functions used will actually be pulled in (tree shaking, yay!!).

This enables #15