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

Allow to import specific modules #443

Merged
merged 3 commits into from
Mar 13, 2024
Merged

Allow to import specific modules #443

merged 3 commits into from
Mar 13, 2024

Conversation

vincentfretin
Copy link
Member

In a node project with webpack correctly configured to define three as external THREE, you can import specific modules:

import "aframe-extras/controls/index.js";
import "aframe-extras/pathfinding/index.js";

@vincentfretin vincentfretin merged commit 0c96ee8 into master Mar 13, 2024
@vincentfretin vincentfretin deleted the esmodule branch March 13, 2024 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant