Closed
Description
Describe the problem
Sometimes, users will encounter unexplainable behaviours (or lack thereof) when seemingly adding the correct files, but those files were misspelled or neglected the +
prefix.
Common mistakes include:
hook.server.js
,hook.server.ts
,+hooks.server.js
,+hooks.server.ts
page.svelte
page.js
,page.ts
,page.server.js
,page.server.ts
server.js
,server.ts
Describe the proposed solution
During dev mode or project build, log a warning if any of the above misspellings are found in the codebase.
Alternatives considered
Inform users to read the docs more closely.
Importance
nice to have
Additional Information
No response
Activity