|
10 年之前 | |
---|---|---|
.. | ||
.gitignore | 11 年之前 | |
gulp-shaders.js | 11 年之前 | |
gulpfile.js | 10 年之前 | |
package.json | 10 年之前 | |
readme.md | 10 年之前 |
Build Babylon.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
/**
* Concat all js files in order into one big js file and minify it.
* The list is based on https://github.com/BabylonJS/Babylon.js/wiki/Creating-the-minified-version
* Do not hesistate to update it if you need to add your own files.
*/
gulp.task('scripts', ['shaders'] ,function() {
return gulp.src([
'../../Babylon/Math/babylon.math.js',
'../../Babylon/Math/babylon.axis.js',
....
gulp
Will be generated :
gulp watch
gulp typescript
Will be generated :
Be aware that all js files content will be overwrite.
gulp watch-typescript
gulp typescript-to-js
Be aware that all js files content will be overwrite.
gulp typescript-declaration