diff --git a/AGENTS.md b/AGENTS.md index f76aafc..48c41a9 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -113,7 +113,6 @@ import type { ReactNode } from 'react' - Components: arrow functions (enforced by Biome) - Routes: TanStack Router file conventions (`export const Route = createFileRoute(...)`) - Data fetching: `useSuspenseQuery(orpc.feature.list.queryOptions())` -- Let React Compiler handle memoization (no manual `useMemo`/`useCallback`) ### Error Handling - Use `try-catch` for async operations; throw descriptive errors diff --git a/apps/server/AGENTS.md b/apps/server/AGENTS.md index 1af6b86..0b5c77d 100644 --- a/apps/server/AGENTS.md +++ b/apps/server/AGENTS.md @@ -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 diff --git a/apps/server/package.json b/apps/server/package.json index c8e67f1..0e6f2e8 100644 --- a/apps/server/package.json +++ b/apps/server/package.json @@ -43,7 +43,6 @@ }, "devDependencies": { "@furtherverse/tsconfig": "workspace:*", - "@rolldown/plugin-babel": "catalog:", "@tailwindcss/vite": "catalog:", "@tanstack/devtools-vite": "catalog:", "@tanstack/react-devtools": "catalog:", diff --git a/apps/server/vite.config.ts b/apps/server/vite.config.ts index cea103a..a25fe1c 100644 --- a/apps/server/vite.config.ts +++ b/apps/server/vite.config.ts @@ -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', diff --git a/bun.lock b/bun.lock index e5c8314..7c1856f 100644 --- a/bun.lock +++ b/bun.lock @@ -55,7 +55,6 @@ }, "devDependencies": { "@furtherverse/tsconfig": "workspace:*", - "@rolldown/plugin-babel": "catalog:", "@tailwindcss/vite": "catalog:", "@tanstack/devtools-vite": "catalog:", "@tanstack/react-devtools": "catalog:", @@ -84,7 +83,6 @@ "@orpc/server": "^1.13.11", "@orpc/tanstack-query": "^1.13.11", "@orpc/zod": "^1.13.11", - "@rolldown/plugin-babel": "^0.2.2", "@t3-oss/env-core": "^0.13.11", "@tailwindcss/vite": "^4.2.2", "@tanstack/devtools-vite": "^0.6.0", diff --git a/package.json b/package.json index 03385f2..82a461c 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,6 @@ "@orpc/server": "^1.13.11", "@orpc/tanstack-query": "^1.13.11", "@orpc/zod": "^1.13.11", - "@rolldown/plugin-babel": "^0.2.2", "@t3-oss/env-core": "^0.13.11", "@tailwindcss/vite": "^4.2.2", "@tanstack/devtools-vite": "^0.6.0",