Skip to content

Commit 7d1df13

Browse files
CopilotBoshen
andauthored
Remove React plugin and enable experimental.enableNativePlugin (#14)
* Initial plan * Remove React plugin and enable experimental.enableNativePlugin Co-authored-by: Boshen <[email protected]> * Remove unused @vitejs/plugin-react dependency Co-authored-by: Boshen <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: Boshen <[email protected]>
1 parent 8b1f373 commit 7d1df13

File tree

3 files changed

+5
-631
lines changed

3 files changed

+5
-631
lines changed

apps/dashboard/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
"@eslint/js": "^9.33.0",
2121
"@types/react": "^19.1.10",
2222
"@types/react-dom": "^19.1.7",
23-
"@vitejs/plugin-react": "^5.0.0",
2423
"eslint": "^9.33.0",
2524
"eslint-plugin-react-hooks": "^5.2.0",
2625
"eslint-plugin-react-refresh": "^0.4.20",

apps/dashboard/vite.config.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
import { defineConfig } from 'rolldown-vite'
2-
import react from '@vitejs/plugin-react'
32

43
// https://vite.dev/config/
54
export default defineConfig({
6-
plugins: [react()],
5+
plugins: [],
76
base: '/vibe-dashboard/',
7+
experimental: {
8+
enableNativePlugin: true,
9+
},
810
})

0 commit comments

Comments
 (0)