Babylon.js ES6 support with Tree Shaking Installation

Hello… I am reading the messages… I just had a couple of bust days.

Basically I was watching the tutorial I posted and I tried to console.log what I placed in the JS file… But I get an error…

I guess that @Mikael was right as the tutorials is fairly basic but it seems not working on my computer.

I need to try to find a solution and keep it posted here (as other users may encounter the same problem).

I’ll also try using Boilerplates (as I want to learn how to use them too), but is a good way to learn since I have a real problem to solve with this npm.

Thank you so much @Mikael, @Raggar, @gbz and @Raggar for all the solutions posted.

I know it is not directly related to Babylon… If I find the solution maybe I can try to make a small tutorial for those who like me are trying to approach it for the first time…

1 Like