BabylonJS / Babylon.js

Babylon.js is a powerful, beautiful, simple, and open game and rendering engine packed into a friendly JavaScript framework.
http://www.babylonjs.com
Apache License 2.0
23.19k stars 3.42k forks source link

ESM support #12593

Closed thomlucc closed 7 months ago

thomlucc commented 2 years ago

Add ECMAScript Modules support to our new build system. This will allow bundlers to remove unnecessary code, allowing sites to ship less codes to get faster load. It will also allow to import directly from the root (side effect free).

thomlucc commented 2 years ago

thanks @RaananW for the update.

7ombie commented 2 years ago

If users have to rely on NPM and Webpack etc, Babylon doesn't really support ES6 modules, or the Web. It only adds support for current Node workarounds.

thomlucc commented 7 months ago

To be revisited.

7ombie commented 1 week ago

I still haven't tried BabylonJS because of this.