sveltejs / svelte

Cybernetically enhanced web apps
https://svelte.dev
MIT License
77.46k stars 4.04k forks source link

Investigate dropping the CJS build #12270

Open benmccann opened 3 days ago

benmccann commented 3 days ago

Describe the problem

We have to distribute the CJS build for eslint-plugin-svelte (https://github.com/sveltejs/eslint-plugin-svelte/issues/808) and the REPL

Describe the proposed solution

check if we can use something like https://esm.sh/stable/svelte@5.0.0-next.171/esnext/compiler.js or https://esm.sh/stable/svelte@5.0.0-next.171/esnext/compiler/index.js?bundle-deps

or create a separate package just for the REPL

Importance

nice to have

Conduitry commented 3 days ago

Are we okay with saying that you need to upgrade to ESLint 9 as part of migrating a project to Svelte 5?