I'm using Lingui with React Router and Vite, and the Lingui docs specify that you should add a babel-config to the react Vite plugin like so:
react({
babel: {
plugins: ["macros"],
},
})
Furthermore, the current way to integrate React Compiler to Vite is based on the same API: https://react.dev/learn/react-compiler#usage-with-vite
This makes reactRouter plugin adoption difficult, since it doesn't offer the ability to send any args.
Is there a workaround for this issue? Or could the reactRouter-plugin even re-export the react-plugin options?
- React Router v7