# Update "Babylon.js ES6 support with Tree Shaking"

**URL:** https://forum.babylonjs.com/t/update-babylon-js-es6-support-with-tree-shaking/45820
**Category:** Questions
**Created:** [November 21, 2023, 12:56am UTC](https://forum.babylonjs.com/t/update-babylon-js-es6-support-with-tree-shaking/45820 "2023-11-21T00:56:10Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![rafaelj](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/rafaelj/32/36167_2.png) [@rafaelj](https://forum.babylonjs.com/u/rafaelj)
#### Post date: [November 21, 2023, 12:56am UTC](https://forum.babylonjs.com/t/update-babylon-js-es6-support-with-tree-shaking/45820/1 "2023-11-21T00:56:10Z")

</div>

After trying to follow the steps in the link [Babylon.js ES6 support with Tree Shaking | Babylon.js Documentation](https://doc.babylonjs.com/setup/frameworkPackages/es6Support#typescript)

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/](http://localhost:8080/)
10. Run npx webpack to create dist folder

---

<div class="post-metadata">

### Author: ![carolhmj](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/carolhmj/32/25918_2.png) [@carolhmj](https://forum.babylonjs.com/u/carolhmj)
#### Post date: [November 21, 2023, 5:58pm UTC](https://forum.babylonjs.com/t/update-babylon-js-es6-support-with-tree-shaking/45820/2 "2023-11-21T17:58:35Z")

</div>

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 🙂  
You can click this button to edit the documentation page on Github:  
 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/c/f/cf34e3ce862314518eda73d8c0578380cc2fe8d0.png)

---

<div class="post-metadata">

### Author: ![rafaelj](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/rafaelj/32/36167_2.png) [@rafaelj](https://forum.babylonjs.com/u/rafaelj)
#### Post date: [November 21, 2023, 11:33pm UTC](https://forum.babylonjs.com/t/update-babylon-js-es6-support-with-tree-shaking/45820/3 "2023-11-21T23:33:12Z")

</div>

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