Skip to content
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

ESM #502

Closed
0b5vr opened this issue Oct 13, 2020 · 2 comments · Fixed by #527
Closed

ESM #502

0b5vr opened this issue Oct 13, 2020 · 2 comments · Fixed by #527
Assignees
Labels
Refactor Cool code is cool
Milestone

Comments

@0b5vr
Copy link
Contributor

0b5vr commented Oct 13, 2020

Since iife examples of Three.js are going to be deprecated, we have to find a way to integrate our modules with their esm modules (yes, we have a required dependency in the examples, GLTFLoader)

@0b5vr 0b5vr added the Refactor Cool code is cool label Oct 13, 2020
@0b5vr 0b5vr self-assigned this Oct 13, 2020
@0b5vr
Copy link
Contributor Author

0b5vr commented Oct 13, 2020

Official document says that I should use import maps:
https://threejs.org/docs/#manual/en/introduction/Installation

I'm trying the es-module-shims with esm variant of three-vrm built with rollup on Glitch...

@0b5vr
Copy link
Contributor Author

0b5vr commented Oct 13, 2020

It's working I guess......??

https://glitch.com/edit/#!/three-vrm-import-map

@0b5vr 0b5vr closed this as completed in #527 Feb 2, 2021
@0b5vr 0b5vr added this to the v0.6.0 milestone Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Refactor Cool code is cool
Projects
None yet
1 participant