forked from imbytecat/fullstack-starter
chore: remove React Compiler and @rolldown/plugin-babel
This commit is contained in:
@@ -226,7 +226,6 @@ import type { ReactNode } from 'react'
|
||||
### React
|
||||
- Use arrow functions for components (Biome enforced)
|
||||
- Use `useSuspenseQuery` for guaranteed data
|
||||
- Let React Compiler handle memoization (no manual `useMemo`/`useCallback`)
|
||||
|
||||
## Environment Variables
|
||||
|
||||
|
||||
@@ -43,7 +43,6 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@furtherverse/tsconfig": "workspace:*",
|
||||
"@rolldown/plugin-babel": "catalog:",
|
||||
"@tailwindcss/vite": "catalog:",
|
||||
"@tanstack/devtools-vite": "catalog:",
|
||||
"@tanstack/react-devtools": "catalog:",
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
import babel from '@rolldown/plugin-babel'
|
||||
import tailwindcss from '@tailwindcss/vite'
|
||||
import { devtools as tanstackDevtools } from '@tanstack/devtools-vite'
|
||||
import { tanstackStart } from '@tanstack/react-start/plugin/vite'
|
||||
import react, { reactCompilerPreset } from '@vitejs/plugin-react'
|
||||
import react from '@vitejs/plugin-react'
|
||||
import { nitro } from 'nitro/vite'
|
||||
import { defineConfig } from 'vite'
|
||||
|
||||
@@ -13,9 +12,6 @@ export default defineConfig({
|
||||
tailwindcss(),
|
||||
tanstackStart(),
|
||||
react(),
|
||||
babel({
|
||||
presets: [reactCompilerPreset()],
|
||||
}),
|
||||
nitro({
|
||||
preset: 'bun',
|
||||
serveStatic: 'inline',
|
||||
|
||||
Reference in New Issue
Block a user