Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not respect configured appDirectory #26

Closed
rogerchi opened this issue Dec 18, 2022 · 3 comments
Closed

Does not respect configured appDirectory #26

rogerchi opened this issue Dec 18, 2022 · 3 comments

Comments

@rogerchi
Copy link

It seems like the appDirectory is hard-coded to app, so if you've changed it (for me it's set to remix/app), you get an error. Would be ideal if remix-flat-routes respected the appDirectory parameter.

const routes = _flatRoutes('app', options.ignoredRouteFiles ?? [], {

@kiliman
Copy link
Owner

kiliman commented Dec 18, 2022

Thanks. I'll add it to the options.

@antoinechalifour
Copy link

Thanks for your work @kiliman ! Can't wait to use this plugin once the option is shipped 👍

@kiliman
Copy link
Owner

kiliman commented Dec 20, 2022

Fixed in v0.5.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants