import { routes } from "~/routes"
causes client-side error
#10227
Labels
import { routes } from "~/routes"
causes client-side error
#10227
Reproduction
The problematic file is
app/routes/_index.tsx
(the import at the top).System Info
Used Package Manager
npm
Expected Behavior
I need to be able to
import { routes } from "~/routes"
so I can iterate over the routes and find specific routes by their IDs.I do this because my application has multilingual URLs and I need to use the route ID to find the correct path to render when generating links.
Actual Behavior
import { routes } from "~/routes"
doesn't work client-side because of an error in thegraceful-fs
module.The text was updated successfully, but these errors were encountered: