You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Even if I am using vite-plugin-react, I still have to add jsx: "react" to my vite config.(The same goes with preact).
Furthermore, after the new vite-plugin-react is release, users still have to add optimizeDeps.include: ["react", "react-dom"] to their vite config.
Describe the solution you'd like
Let plugin (vite-plugin-react) help users to define "optimizeDeps" and "jsx" config.
This will let vite plugin system do more and let plugin users do less.
Describe alternatives you've considered
No.
Additional context
If you are open to this idea, I can help implementing this feature.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Even if I am using vite-plugin-react, I still have to add
jsx: "react"
to my vite config.(The same goes with preact).Furthermore, after the new vite-plugin-react is release, users still have to add
optimizeDeps.include: ["react", "react-dom"]
to their vite config.Describe the solution you'd like
Let plugin (vite-plugin-react) help users to define "optimizeDeps" and "jsx" config.
This will let vite plugin system do more and let plugin users do less.
Describe alternatives you've considered
No.
Additional context
If you are open to this idea, I can help implementing this feature.
The text was updated successfully, but these errors were encountered: