17 lines
376 B
Markdown
17 lines
376 B
Markdown
Building for the browser
|
|
========================
|
|
|
|
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-all
|
|
|
|
This will build the full and minified versions of glMatrix.
|
|
|
|
To build the docs, run:
|
|
|
|
npm run doc |