An example of how to setup a Babylon project with GUI written in Typescript and bundled using Webpack. See more detailed information at https://doc.babylonjs.com/divingDeeper/developWithBjs/npmSupport#setting-up-the-project
npm install
npm run build
Open index.html.
That's all! :)