Skip to content

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

Merged
AbhiPrasad merged 1 commit into
developfrom
abhi-sveltekit-remove-exports
Mar 16, 2023
Merged

fix(sveltekit): Remove package.json exports#7481
AbhiPrasad merged 1 commit into
developfrom
abhi-sveltekit-remove-exports

Conversation

@AbhiPrasad

@AbhiPrasadAbhiPrasad commented Mar 16, 2023

Copy link
Copy Markdown
Contributor

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 Lms24March 16, 2023 12:25
Let's figure out how to do the multiplexing in some other way.
@AbhiPrasad
AbhiPrasadforce-pushed the abhi-sveltekit-remove-exports branch from 56f7db8 to 172203eCompareMarch 16, 2023 12:25

@mydeamydea left a comment

Copy link
Copy Markdown
Member

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
Copy Markdown
Contributor

size-limit report 📦

PathSize
@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 developMar 16, 2023
@AbhiPrasad
AbhiPrasad deleted the abhi-sveltekit-remove-exports branch March 16, 2023 12:36
Sign up for freeto 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

@AbhiPrasad@mydea@Lms24