0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-24 16:29:46 +01:00
svelte/.changeset/new-houses-roll.md
Simon H 4dfa0e31fe
fix: tighten up export default validation (#14368)
through #14363 I noticed our `export default` validation wasn't quite right:
- missed checking for derived/state exports
- the "cannot have a default export" error was only thrown if you did `export default` from the instance script, but it shouldn't matter from which component part you export it; it's never ok
2024-11-20 10:14:33 -05:00

69 B

svelte
patch

fix: tighten up export default validation