How to ignore test files in routes directory?
Tanstack Router is picking up my test files in the routes folder. I there any way to ignore them? No, I don't want to move them elsewhere.
7 Replies
harsh-harlequin•15h ago
File-Based Routing API Reference | TanStack Router Docs
TanStack Router's file-based routing is quite flexible and can be configured to suit your project's needs. Configuration options The following options are available for configuring the file-based rout...
harsh-harlequin•15h ago
File-Based Routing API Reference | TanStack Router Docs
TanStack Router's file-based routing is quite flexible and can be configured to suit your project's needs. Configuration options The following options are available for configuring the file-based rout...
optimistic-goldOP•15h ago
The docs doesn't really help me where to apply these config options, but not in createRouter.
harsh-harlequin•15h ago
for start, those options go into the vite plugin under
router
optimistic-goldOP•15h ago
ah ok, that makes sense, what I found was start.config.js, but I don;t have such 🙂
harsh-harlequin•15h ago
where do the docs mention this file? needs to be removed then
optimistic-goldOP•15h ago
not docs, found it by googling somewhere, closed already