Does babylonjs support esnext module option?

Hi everyone, I’m trying to import babylonjs modules in my .ts file using “import * as BABYLON from ‘babylonjs’;” and use the Scene module, but it’s telling me “Scene is not exported by node_modules/babylonjs/babylon.js” (I’m new user and I can only put one picture in a post)

Capture of the tsconfig file


I found that you have full support to ES6 module option , but i’m using esnext module option. So I guess that babylonjs doesn’t support esnext module option? If so, since i have been working on this project for a while and it’s all built in esnext option, is there any workaround so that I can still use esnext option? Thank you!

Yes: ES6 - Babylon.js Documentation
pinging @sebavan

Yup, as David mentionned our ESNEXT module support is only available in our ES6 packages @babylonjs/…

Thanks for the quick response! I will try that

Thanks for the reply and pinging for me!