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 '.mjs' extension for ESM build files #230

Merged
merged 2 commits into from
Oct 20, 2021

Conversation

smithki
Copy link
Contributor

@smithki smithki commented Oct 20, 2021

📦 Pull Request

An issue was occurring when compiling magic-sdk into Svelte projects using @sveltejs/adapter-node, which is apparently not inferring package.json#exports#import as ES modules correctly without an explicit .mjs extension.

✅ Fixed Issues

@smithki smithki added the patch Increment the patch version when merged label Oct 20, 2021
@smithki smithki self-assigned this Oct 20, 2021
@smithki smithki merged commit 4c90e0f into master Oct 20, 2021
@smithki smithki deleted the fix/svelte-adapter-node-imports-broken branch October 20, 2021 18:29
@smithki smithki added the released This issue/pull request has been released. label Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Increment the patch version when merged released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

v6.1.1 Throws during build or preview tasks when used with Svelte-Kit
1 participant