chore(deps): use vite rolldown

This commit is contained in:
Sonny
2025-07-05 15:08:40 +02:00
parent 2dd96ff647
commit 8efa281a48
3 changed files with 304 additions and 417 deletions

View File

@@ -49,7 +49,6 @@
"@types/react-dom": "^19.1.6",
"@typescript-eslint/eslint-plugin": "^8.35.1",
"@vite-pwa/assets-generator": "^1.0.0",
"@vitejs/plugin-react": "^4.6.0",
"eslint": "^9.30.1",
"hot-hook": "^0.4.0",
"husky": "^9.1.7",
@@ -81,6 +80,7 @@
"@mantine/hooks": "^8.1.2",
"@mantine/spotlight": "^8.1.2",
"@vinejs/vine": "^3.0.1",
"@vitejs/plugin-react-oxc": "^0.2.3",
"bentocache": "^1.4.0",
"dayjs": "^1.11.13",
"edge.js": "^6.2.1",
@@ -119,5 +119,10 @@
},
"volta": {
"node": "22.11.0"
},
"pnpm": {
"overrides": {
"vite": "npm:rolldown-vite@latest"
}
}
}

710
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -2,7 +2,7 @@ import project from '#config/project';
import { getDirname } from '@adonisjs/core/helpers';
import inertia from '@adonisjs/inertia/client';
import adonisjs from '@adonisjs/vite/client';
import react from '@vitejs/plugin-react';
import react from '@vitejs/plugin-react-oxc';
import { defineConfig } from 'vite';
import { VitePWA } from 'vite-plugin-pwa';
@@ -101,7 +101,7 @@ export default defineConfig({
inertia({ ssr: { enabled: true, entrypoint: 'inertia/app/ssr.tsx' } }),
react(),
adonisjs({
entrypoints: ['inertia/app/app.tsx'],
entrypoints: [`${getDirname(import.meta.url)}/inertia/app/app.tsx`],
reload: ['resources/views/**/*.edge'],
}),
],