-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Examples: Convert cameras and geometries to ES6. #21589
Conversation
@marcofugaro When executing the conversion script on my branch, this pops up:
It seems the script misses to remove the following import statement. At least on my computer: import * as fflate from '../libs/fflate.module.min.js'; |
@Mugen87 you're on windows right? It is probably the three.js/utils/build/rollup.examples.config.js Lines 116 to 121 in d9a5084
|
The |
I'm on macOS right now. |
@Mugen87 tested your branch and the issue doesn't happen on my machine. Could you help me debug this particular line on your machine? 🙏
|
The strange thing is import { unzipSync } from '../libs/fflate.module.min.js'; And then the linter complains. Not sure why this happens yet. |
I've removed my |
@Mugen87 it's probably rollup, could you run a I have this version: |
Yep, using this version solved the issue. |
Thanks! |
Related issue: -
Description
More usage of ES6 syntax.