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
eastern-cyan•2mo 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...
eastern-cyan•2mo 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...
eager-peachOP•2mo ago
The docs doesn't really help me where to apply these config options, but not in createRouter.
eastern-cyan•2mo ago
for start, those options go into the vite plugin under
routereager-peachOP•2mo ago
ah ok, that makes sense, what I found was start.config.js, but I don;t have such 🙂
eastern-cyan•2mo ago
where do the docs mention this file? needs to be removed then
eager-peachOP•2mo ago
not docs, found it by googling somewhere, closed already