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

feat(sveltekit): Fix export fields in package.json #608

Merged
merged 2 commits into from
Aug 2, 2023
Merged

feat(sveltekit): Fix export fields in package.json #608

merged 2 commits into from
Aug 2, 2023

Conversation

lachlancollins
Copy link
Contributor

@lachlancollins lachlancollins commented Jul 16, 2023

Opened because I accidentally closed #600

What kind of change does this PR introduce?

What is the current behavior?

For @supabase/auth-helpers-sveltekit:
This entrypoint has types at ./dist/index.d.ts but it is not exported from pkg.exports. Consider adding it to pkg.exports["."].types to be compatible with TypeScript's "moduleResolution": "bundler" compiler option.

What is the new behavior?

  • Warnings removed by adding exports["."]["types"] and exports["."]["import"] fields

@silentworks silentworks merged commit 002e6f9 into supabase:main Aug 2, 2023
@lachlancollins lachlancollins deleted the exports-field branch August 2, 2023 22:11
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