Skip to content

Commit 6a2efc3

Browse files
authored
feat!: upgrade vite to v6 (#4504)
1 parent 65dc73d commit 6a2efc3

File tree

4 files changed

+47
-287
lines changed

4 files changed

+47
-287
lines changed

__tests__/e2e/data-loading/data.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ describe('static data file support in vite 3', () => {
4343
`)
4444
})
4545

46-
// 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)
47-
test.skip('hmr works', async () => {
46+
test.runIf(!process.env.VITE_TEST_BUILD)('hmr works', async () => {
4847
const a = fileURLToPath(new URL('./data/a.json', import.meta.url))
4948
const b = fileURLToPath(new URL('./data/b.json', import.meta.url))
5049

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
"mark.js": "8.11.1",
112112
"minisearch": "^7.1.1",
113113
"shiki": "^2.1.0",
114-
"vite": "^5.4.14",
114+
"vite": "^6.0.11",
115115
"vue": "^3.5.13"
116116
},
117117
"devDependencies": {

0 commit comments

Comments
 (0)