Skip to content

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

2 participants