Update "Babylon.js ES6 support with Tree Shaking"

After trying to follow the steps in the link Babylon.js ES6 support with Tree Shaking | Babylon.js Documentation

I noticed the lack of information about creating the ‘index.html’ file inside the ‘public’ folder. In the “creation summary”, I suggest adjusting the texts of steps 5. and 6. as follows:

Application Creation Summary

  1. Create new folder MyAwesomeApp
  2. Open GitBash (or similar) for MyAwesomeApp
  3. Run npm init
  4. Run npm install webpack webpack-cli webpack-dev-server --save-dev
  5. Run npm install @babylonjs/core and npm install --save-dev @babylonjs/materials
  6. Create Folder public in MyAwesomeApp and create index.html file in public as described in First App Section below
  7. Create Folder src in MyAwesomeApp
  8. Create index.js file in src as described in First App Section below
  9. Run npx webpack serve to check result in http://localhost:8080/
  10. Run npx webpack to create dist folder

Thanks for the suggestion! Would you like to open a PR on the documentation with the updated text? No issue if you don’t want to, just thought to suggest :slight_smile:
You can click this button to edit the documentation page on Github:

1 Like

I will do the PR on github. Thanks for the orientation.