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

Vite plugin breaks when exporting a links function #87

Closed
brookslybrand opened this issue Jan 2, 2024 · 4 comments · Fixed by #88
Closed

Vite plugin breaks when exporting a links function #87

brookslybrand opened this issue Jan 2, 2024 · 4 comments · Fixed by #88

Comments

@brookslybrand
Copy link
Contributor

For some reason when exporting a links function the dev tools plugin blows up 😬

https://stackblitz.com/edit/remix-run-remix-qrkkuu?file=app%2Froot.tsx

@AlemTuzlak
Copy link
Contributor

Interesting, this is new, I tested this scenario out and it was working before, I'll look into this, as a workaround until then you can export it as a const

@brookslybrand
Copy link
Contributor Author

Interesting, this is new, I tested this scenario out and it was working before, I'll look into this, as a workaround until then you can export it as a const

Weird, thanks for the work around! Glad to have pointed out the issue 🙂

@AlemTuzlak
Copy link
Contributor

@brookslybrand fixed in 3.7.1, was a typo where i left const instead of function in the code, thank you for pointint it out!

@brookslybrand
Copy link
Contributor Author

Awesome! Thanks @AlemTuzlak

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

Successfully merging a pull request may close this issue.

2 participants