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

Module not found: Error: Default condition should be last one #1

Open
iangilman opened this issue May 22, 2024 · 0 comments
Open

Module not found: Error: Default condition should be last one #1

iangilman opened this issue May 22, 2024 · 0 comments

Comments

@iangilman
Copy link

Thank you for wrapping this tech up on a nice, simple library! I ran into an issue getting it set up:

When I include the project using Webpack, I get a "Module not found: Error: Default condition should be last one" error in the terminal and it breaks my whole build. I tracked it down to this line in the package.json:

"default": "./dist/three-giftexture.mjs",

If you move this default line below the types line, it works.

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

No branches or pull requests

1 participant