We had quite a lot of questions about babylon.js project issues, mainly regarding modules and webpack. How to build, how do debug, how to get started.
So I made a small getting-started project that can be forked and can be used as the base to your new es6 project. It is available on github:
It is basically everything you need to get started - debug environment, typescript hot-loading, full module support, production build and more.
For now it is a very simple project - a plane, a sphere, and a single texture. I will continue adding features with time - model loading, custom materials, physics, XR, with focus on how to use them in an es6 project.
If you find a bug or have any questions or issues you can write me here or write an issue on github.