mirror of
https://github.com/hoornet/vega.git
synced 2026-06-22 12:13:02 -07:00
Merge pull request #5 from hoornet/dependabot/npm_and_yarn/multi-9e9c9dbf03
Bump esbuild, @tailwindcss/vite, @vitejs/plugin-react and vite
This commit is contained in:
@@ -48,3 +48,6 @@ skills-lock.json
|
||||
*.njsproj
|
||||
*.sln
|
||||
*.sw?
|
||||
|
||||
# TypeScript incremental build info
|
||||
*.tsbuildinfo
|
||||
|
||||
Generated
+454
-1358
File diff suppressed because it is too large
Load Diff
+3
-3
@@ -14,7 +14,7 @@
|
||||
"dependencies": {
|
||||
"@fontsource/atkinson-hyperlegible": "5.2.8",
|
||||
"@nostr-dev-kit/ndk": "^3.0.3",
|
||||
"@tailwindcss/vite": "^4.2.1",
|
||||
"@tailwindcss/vite": "^4.3.1",
|
||||
"@tanstack/react-virtual": "3.13.24",
|
||||
"@tauri-apps/api": "^2.11.0",
|
||||
"@tauri-apps/plugin-dialog": "^2.7.0",
|
||||
@@ -43,10 +43,10 @@
|
||||
"@types/marked": "^5.0.2",
|
||||
"@types/react": "^19.1.8",
|
||||
"@types/react-dom": "^19.1.6",
|
||||
"@vitejs/plugin-react": "^4.6.0",
|
||||
"@vitejs/plugin-react": "^6.0.2",
|
||||
"jsdom": "^29.0.0",
|
||||
"typescript": "~5.8.3",
|
||||
"vite": "^7.0.4",
|
||||
"vite": "^8.0.16",
|
||||
"vitest": "^4.1.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
"compilerOptions": {
|
||||
"composite": true,
|
||||
"skipLibCheck": true,
|
||||
"target": "ES2022",
|
||||
"lib": ["ES2023"],
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "bundler",
|
||||
"allowSyntheticDefaultImports": true
|
||||
|
||||
+5
-3
@@ -18,12 +18,14 @@ export default defineConfig(async () => ({
|
||||
build: {
|
||||
rollupOptions: {
|
||||
output: {
|
||||
manualChunks: {
|
||||
// Vite 8 / Rolldown requires manualChunks as a function (the object
|
||||
// form is no longer accepted). Same intent as before:
|
||||
manualChunks(id: string) {
|
||||
// NDK is the largest dependency (~300kB) — split it out so the
|
||||
// main bundle parses faster at startup and the chunk can be cached.
|
||||
"ndk": ["@nostr-dev-kit/ndk"],
|
||||
if (id.includes("node_modules/@nostr-dev-kit/ndk")) return "ndk";
|
||||
// React runtime — stable across releases, cache-friendly.
|
||||
"vendor": ["react", "react-dom"],
|
||||
if (id.includes("node_modules/react-dom/") || id.includes("node_modules/react/")) return "vendor";
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user