0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-24 16:29:46 +01:00
Commit Graph

1 Commits

Author SHA1 Message Date
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