Skip to content

Commit

Permalink
feat!: upgrade vite to v6 (#4504)
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red authored Jan 22, 2025
1 parent 65dc73d commit 6a2efc3
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 287 deletions.
3 changes: 1 addition & 2 deletions __tests__/e2e/data-loading/data.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ describe('static data file support in vite 3', () => {
`)
})

// TODO: make it `.runIf(!process.env.VITE_TEST_BUILD)` -- it currently works, but is skipped to avoid vite's ecosystem-ci from failing (https://github.com/vitejs/vite/pull/16471#issuecomment-2308437187)
test.skip('hmr works', async () => {
test.runIf(!process.env.VITE_TEST_BUILD)('hmr works', async () => {
const a = fileURLToPath(new URL('./data/a.json', import.meta.url))
const b = fileURLToPath(new URL('./data/b.json', import.meta.url))

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
"mark.js": "8.11.1",
"minisearch": "^7.1.1",
"shiki": "^2.1.0",
"vite": "^5.4.14",
"vite": "^6.0.11",
"vue": "^3.5.13"
},
"devDependencies": {
Expand Down
Loading

0 comments on commit 6a2efc3

Please sign in to comment.