forge42dev/Remix-Dev-Tools

Vite plugin breaks when exporting a `links` function

brookslybrand opened this issue · 4 comments

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

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

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 🙂

@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!

Awesome! Thanks @AlemTuzlak