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

fix: change filename for esm build to use .mjs extension #831

Merged
merged 1 commit into from
Feb 16, 2024

Conversation

usefulthink
Copy link
Contributor

Don't have the time to investigate why this happened right now, but for some reason webpack needs a .mjs file extension for esm files. Maybe this was caused by adding "type": "commonjs" to the package.json?

Fixes the webpack error-message reported by @samuelcole and @martincostello in #825.

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