Can't import GridMaterials in latest Babylon in NextJS + Typescript - Example Repo

Okay - seems I have some homework todo with my understanding of Javascript modules and tree shaking. I’m going to end this topic here and thank you for all your help!

2 Likes

It can be quite confusing, I admit. it is also the way we are dealing with it, which is kind of a hybrid mode between old-school import-all-you-need with side effects, and modern es6-modules approach.

I’m happy you have a starting point :slight_smile:
We will always be happy to see your final product or the progress you are making if you ever want to share it!

1 Like