Added React compiler + eslint.config.ts cleanup (#633)

* Added react compiler

* Removed project field from eslint.config.js

* Cleaned up eslint.config.js

* Added comment
This commit is contained in:
yuri-sakharov
2025-12-06 17:16:04 +02:00
committed by GitHub
parent f2eb91bc02
commit f660411722
5 changed files with 23 additions and 10 deletions

View File

@@ -9,7 +9,7 @@ export default defineConfig(({ mode }) => {
const port = env.VITE_SERVER_PORT || 8080;
return {
plugins: [
react(),
react({ babel: { plugins: ["babel-plugin-react-compiler"] } }), // React and "babel-plugin-react-compiler" plugins should be first
tailwindcss(),
flowbiteReact(),
viteStaticCopy({
@@ -51,4 +51,4 @@ export default defineConfig(({ mode }) => {
},
},
};
});
});