Skip to content

Commit

Permalink
Merge pull request #417 from birkskyum/vite-6
Browse files Browse the repository at this point in the history
Bump to Vite 6
  • Loading branch information
nksaraf authored Dec 2, 2024
2 parents a62ff02 + 28a23e1 commit 69317b7
Show file tree
Hide file tree
Showing 4 changed files with 79 additions and 211 deletions.
5 changes: 5 additions & 0 deletions .changeset/tame-kangaroos-taste.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"vinxi": minor
---

Bump to Vite 6
2 changes: 1 addition & 1 deletion packages/vinxi/lib/manifest-path.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export function viteManifestPath(
/** @type {import("./router-mode").Router} */ router,
) {
let vite = require("vite/package.json");
if (vite.version.startsWith("5")) {
if (vite.version.startsWith("5") || vite.version.startsWith("6")) {
return join(router.outDir, router.base, ".vite", "manifest.json");
}
return join(router.outDir, router.base, "manifest.json");
Expand Down
4 changes: 2 additions & 2 deletions packages/vinxi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,13 +214,13 @@
"unctx": "^2.3.1",
"unenv": "^1.9.0",
"unstorage": "^1.10.1",
"vite": "^5.2.8",
"vite": "^6.0.0",
"zod": "^3.22.2"
},
"devDependencies": {
"@types/node": "^18.17.11",
"@types/serve-static": "^1.15.2",
"@types/resolve": "^1.20.6",
"@types/serve-static": "^1.15.2",
"cookie-es": "^1.0.0",
"prettier": "^2.8.8",
"vitest": "^0.28.5"
Expand Down
Loading

0 comments on commit 69317b7

Please sign in to comment.