SideraX 670f8f798c Update readme.md il y a 12 ans
..
.gitignore 4b41b80f1d Add Gulp for buiding babylon cross platform il y a 12 ans
gulp-shaders.js f5abb0917c Del useless params utf8 in gulp-shader il y a 12 ans
gulpfile.js 03b6379d25 Add name option for gulp-shaders il y a 12 ans
package.json 4b41b80f1d Add Gulp for buiding babylon cross platform il y a 12 ans
readme.md 670f8f798c Update readme.md il y a 12 ans

readme.md

Build Babylon.js with Gulp

Build Babylon.js with gulp and npm (nodejs), easy and cross-platform

(Paths in this file are relative to this file location.)

How to use it

First install gulp :

npm install -g gulp

Install some dependencies :

npm install

Update gulpfile if you want to add files:

return gulp.src([
      '../../Babylon/Math/babylon.math.js',
      '../../Babylon/Math/babylon.axis.js',
      
      ....

Build Babylon.js :

gulp

Will be generated :

  • build/babylon.js
  • build/babylon.min.js

Build Babylon.js when you save a file:

gulp watch