@vitejs/plugin-react-swc uses SWC for Fast Refresh Expanding the ESLint configuration If you are developing a production application, we recommend updating the configuration to enable type aware lint rules: Configure the top-level parserOptions property like this: export default tseslint.config({...
React 19 (SWC), vite, TypeScript. Contribute to o-az/template-vite-react-ts development by creating an account on GitHub.
You need to find this line in the compiled version (cjs or mjs depending on your package.json): https://github.com/vitejs/vite-plugin-react-swc/blob/main/src/index.ts#L154 👍 1 sapphi-red mentioned this issue Feb 28, 2023 Issue importing JSX file from dependency in node_modules ...