Building for the browser

February 13, 2020 ยท View on GitHub

To build gl-matrix.js and gl-matrix-min.js for use in the browser install the required NPM dependencies first by running

npm install

from the this directory, then run the following command:

npm run build

This will build the full and minified versions of glMatrix.

To build the docs, run:

npm run doc