Skip to content

fix(sveltekit): Remove package.json exports #7481

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

Merged
merged 1 commit into from
Mar 16, 2023

Conversation

AbhiPrasad
Copy link
Member

@AbhiPrasad AbhiPrasad commented Mar 16, 2023

Context:

This was initially added in #7406 to make sure that vite could resolve the server/client entries properly, but this ended up breaking esm resolution for the server-side.

Instead of the exports approach, we are going to try to multiplex the same way the next.js sdk does.

@AbhiPrasad AbhiPrasad requested a review from Lms24 March 16, 2023 12:25
Let's figure out how to do the multiplexing in some other way.
@AbhiPrasad AbhiPrasad force-pushed the abhi-sveltekit-remove-exports branch from 56f7db8 to 172203e Compare March 16, 2023 12:25
Copy link
Member

@mydea mydea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥

@AbhiPrasad AbhiPrasad enabled auto-merge (squash) March 16, 2023 12:28
@github-actions
Copy link
Contributor

size-limit report 📦

Path Size
@sentry/browser - ES5 CDN Bundle (gzipped + minified) 20.41 KB (+0.02% 🔺)
@sentry/browser - ES5 CDN Bundle (minified) 63.3 KB (0%)
@sentry/browser - ES6 CDN Bundle (gzipped + minified) 18.99 KB (+0.02% 🔺)
@sentry/browser - ES6 CDN Bundle (minified) 56.21 KB (0%)
@sentry/browser - Webpack (gzipped + minified) 20.65 KB (0%)
@sentry/browser - Webpack (minified) 67.44 KB (0%)
@sentry/react - Webpack (gzipped + minified) 20.68 KB (0%)
@sentry/nextjs Client - Webpack (gzipped + minified) 52.12 KB (+0.07% 🔺)
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 33.66 KB (+0.02% 🔺)
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 26.01 KB (+0.05% 🔺)
@sentry/replay ES6 CDN Bundle (gzipped + minified) 43.45 KB (+0.64% 🔺)
@sentry/replay - Webpack (gzipped + minified) 37.48 KB (+0.78% 🔺)
@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 61.59 KB (+0.48% 🔺)
@sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 54.66 KB (+0.51% 🔺)

@AbhiPrasad AbhiPrasad merged commit 3161576 into develop Mar 16, 2023
@AbhiPrasad AbhiPrasad deleted the abhi-sveltekit-remove-exports branch March 16, 2023 12:36
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.

3 participants