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
I'm against this. The other files beginning with a + all appear within src/routes, and their path is significant. hooks.server.js is neither in src/routes nor does its path signify anything. (It also aligns with src/app.html, src/error.html, and src/service-worker.js, all of which live at specific paths, and none of which have a +.)
If we get around to #6731, I think a + prefix makes sense for that file - but not for the single file that doesn't even live inside src/routes.
Describe the problem
Our current hooks naming doesn't follow the naming convention of other files
Describe the proposed solution
src/hooks.server.js
orsrc/routes/+hooks.server.js
Alternatives considered
No response
Importance
nice to have
Additional Information
No response
The text was updated successfully, but these errors were encountered: