Replies: 3 comments 4 replies
-
you could use a mandatory path param or configure the other tools not ignore that directory |
Beta Was this translation helpful? Give feedback.
1 reply
-
Does this route really need to exist? You could detect the routeId and return a custom Response from handle hook. |
Beta Was this translation helpful? Give feedback.
3 replies
-
The recommended way to do this now is to use encodings to represent the dot. See the info box at the bottom of this section for more details. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, basically, file-based routing is a great concept for defining routes. But currently, we have a case where file-based routing does not work very well for us. Because of some OpenId Connect stuff, we need a route where one path segment has the name
.well-known
. Basically, this works well with SvelteKit, but this makes some problems with other tools. For example, Vitest, ESLint, and tsc (for type checking) ignore everything inside this folder. For Vitest, we worked around the problem, but generally speaking, it is not a good solution to work around any problem that a folder with a dot as the first character makes. It would be great if SvelteKit could implement a way that we can define a route such as.well-known
, but without writing the dot as the first character into the folder name.Beta Was this translation helpful? Give feedback.
All reactions