Open pburrows opened 12 months ago
Hmm.. I haven't seen that issue before.
First of all, it looks like your import
is wrong.
import { flatRoutes } from 'remix-flat-routes'
Also, your ignoredRouteFiles
setting is incorrect. That setting applies to the Remix default convention. You need to specify that all files should be ignored.
ignoredRouteFiles: ["**/*"] // ignore all files (remove the .)
Trying to get remix-flat-routes working and am getting the error:
My remix.config.js looks like this:
and I have renamed my routes to follow the folder conventions (so I have folders paths like this:
routes/auth/signup/_signup.tsx
androutes/projects/$project/_project.tsx
I searched the archives here and I don't see anyone else with this ignoredFilePatterns error, so I'm not sure what I'm doing wrong.
Thanks!