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

breaking: remove legacy package.json files #8515

Merged
merged 1 commit into from
Apr 18, 2023

Conversation

benmccann
Copy link
Member

Now that we only support newer versions of Node we can simply rely on exports.

This is a breaking change because it requires bundlers to be able to handle the exports field. This is the case for

  • Vite 3/4
  • Rollup 2/3 (using @rollup/plugin-node-resolve)
  • Webpack 5

If you're relying on a bundler that does not know how to deal with export maps, you need to update its version to one that supports it (like webpack 4->5) or switch to another bundler.

@vercel
Copy link

vercel bot commented Apr 18, 2023

@benmccann is attempting to deploy a commit to the Svelte Team on Vercel.

A member of the Team first needs to authorize it.

@benmccann benmccann added this to the 4.x milestone Apr 18, 2023
@dummdidumm dummdidumm merged commit be64520 into sveltejs:version-4 Apr 18, 2023
@gtm-nayan gtm-nayan mentioned this pull request Jun 17, 2023
5 tasks
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