Describe the problem
This is a follow up to #10528
Sometimes, users will encounter unexplainable behaviours (or lack thereof) when seemingly adding the correct files, but those files were misspelled.
Common mistakes include:
- hook.server.js, hook.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
No response
Importance
nice to have
Additional Information
Some users reported spending a day figuring out their files were misspelled. #10558 helped a lot with +-prefixed files, and I think adding typo detection for hooks.server.ts would be another big win.
Describe the problem
This is a follow up to #10528
Sometimes, users will encounter unexplainable behaviours (or lack thereof) when seemingly adding the correct files, but those files were misspelled.
Common mistakes include:
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
No response
Importance
nice to have
Additional Information
Some users reported spending a day figuring out their files were misspelled. #10558 helped a lot with
+-prefixed files, and I think adding typo detection forhooks.server.tswould be another big win.