mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-24 11:48:04 +00:00
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:
@@ -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 }) => {
|
||||
},
|
||||
},
|
||||
};
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user