FelixIncerta
FelixIncerta
This does not work for me in production. Having this issue but i think it is related to this plugin https://github.com/vitejs/vite/issues/3876 in dev it works for production not due to...
This is the exact error when i do `tsc && vite build` Only for components where React is not imported  ``` import reactRefresh from '@vitejs/plugin-react-refresh'; import { defineConfig }...
@aleclarson Thank you here is my fork https://github.com/FelixIncerta/vite-react-jsx I have this error on vite build  the error suggests adding react/jsx-runtime to build.rollupOptions.external but then i get the other error...
after adding this ` 'react/jsx-runtime': dirNodeModules+ '/react/cjs/react-jsx-runtime.production.min.js',` in resolve.alias it seems to be working..
I also have the same problem with React