More info about Canvas2D
Build Babylon.canvas2d.js with gulp and npm (nodejs), easy and cross-platform
(Paths in this file are relative to this file location.)
npm install -g gulp
npm install
npm update
gulp
Will be generated :
- babylon.canvas2d.js
- babylon.canvas2d.max.js (unminified)
gulp watch
gulp typescript
Will be generated :
- babylon.canvas2d.js
- babylon.canvas2d.d.ts
- babylon.canvas2d.max.js (unminified)
Be aware that all js files content will be overwrite.
gulp watch-typescript
gulp typescript-compile
Be aware that all js files content will be overwritten.