How to build babylon source code into separate files rather than a whole js file

I am playing with babylon building.

When I run this line in ./Tools/Gulp

npm install && npm run build

I get a big babylon.js file which I guess contains the whole source code of babylon.

However, I want Separate Files instead of a whole js file.

What should I do to build babylonjs source code into Separate Files?

1 Like

you can run the command “gulp npmPackages-es6”

this should create a folder .temp/localDevES6 under the babylonjs folder containing exactly what we deploy to npm.

3 Likes