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

Custom output path #7

Closed
IgnisDa opened this issue Jun 13, 2022 · 3 comments · Fixed by #12
Closed

Custom output path #7

IgnisDa opened this issue Jun 13, 2022 · 3 comments · Fixed by #12
Labels

Comments

@IgnisDa
Copy link

IgnisDa commented Jun 13, 2022

Awesome library!

I am using NX for my remix project. Hence the node_modules does not exist in the project directory (but instead in the monorepo root). It would be preferable if I could change the output path to a custom one (eg: app/generated/routes.ts) and import that as import { path } from '~/app/generated/routes'.

@Rocinante89
Copy link

Similar situation here except we are using turborepo. In turborepos case, The .remix-routes folder gets dumped into the project node-modules instead of the root. If you manually move it all works as expected.

Awesome lib though! Would love to be able to use it

yesmeck added a commit that referenced this issue Jul 12, 2022
yesmeck added a commit that referenced this issue Jul 12, 2022
@github-actions
Copy link
Contributor

🎉 This issue has been resolved in version 0.4.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@yesmeck
Copy link
Owner

yesmeck commented Jul 12, 2022

It works with workspace/monorepo out of the box now.

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

Successfully merging a pull request may close this issue.

3 participants