You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the current code for loading svelte.config still allows svelte.config.cjs to be used. This is a bit convoluted and the original need for adding svelte.config.cjs support (jest compatibility) is largely gone thanks to vitest.
Describe the proposed solution
simplify load config by removing all cjs related code, going forward config must be esm and named svelte.config.js or svelte.config.mjs
Alternatives considered
Dropping it immediately with the current pre-release could be a bit short notice for the few projects that still have a svelte.config.cjs.
We can add a deprecation notice log and remove it in the next major after.
Importance
would make my life easier
The text was updated successfully, but these errors were encountered:
Describe the problem
the current code for loading svelte.config still allows svelte.config.cjs to be used. This is a bit convoluted and the original need for adding svelte.config.cjs support (jest compatibility) is largely gone thanks to vitest.
Describe the proposed solution
simplify load config by removing all cjs related code, going forward config must be esm and named svelte.config.js or svelte.config.mjs
Alternatives considered
Dropping it immediately with the current pre-release could be a bit short notice for the few projects that still have a svelte.config.cjs.
We can add a deprecation notice log and remove it in the next major after.
Importance
would make my life easier
The text was updated successfully, but these errors were encountered: