-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Always ignore route files starting with .
#8801
Conversation
🦋 Changeset detectedLatest commit: 74cda7d The changes in this PR will be included in the next version bump. This PR includes changesets to release 16 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
0b8bbac
to
4df8b3d
Compare
096d8e8
to
74cda7d
Compare
🤖 Hello there, We just published version Thanks! |
🤖 Hello there, We just published version Thanks! |
This change is in response to the following issue: #8744
Having dotfiles like
.DS_Store
in the routes directory causes hard-to-debug errors when"**/.*"
is not configured inignoredRouteFiles
. This is particularly notable when using the Vite plugin since we've encourage usage without any config (i.e.remix()
in the plugins array). Currently none of the Vite templates haveignoredRouteFiles
set.Since we've moved to flat routes, it no longer makes sense to have route files starting with a
.
character since it's meant to be a delimiter denoting a/
in the URL. As a result, rather than doubling down and addingremix({ ignoredRouteFiles: ["**/.*"] })
to all Vite templates, it makes more sense to always ignore route files starting with.
.The bulk of this PR is just updating docs and templates now that it's redundant to add
**/.*
toignoredRouteFiles
.