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

Use the .mjs file extension for the esm build #59

Merged
merged 3 commits into from
Dec 30, 2022

Conversation

Redemption198
Copy link
Contributor

This PR is a follow-up to #55, which fixed the CommonJS error reported in #53. The .js file extension of the esm build causes Vite to parse it as a CommonJS module causing errors. Changing the esm build file extension to .mjs fixes the issue.

@vercel
Copy link

vercel bot commented Sep 26, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
perfect-freehand-example ✅ Ready (Inspect) Visit Preview Sep 26, 2022 at 8:23PM (UTC)
pf-dev ✅ Ready (Inspect) Visit Preview Sep 26, 2022 at 8:23PM (UTC)

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.

2 participants