Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit faddbe6

Browse files
committed
feat(bundler-vite): upgrade vite to v6
1 parent 5230ee4 commit faddbe6

File tree

4 files changed

+94
-78
lines changed

4 files changed

+94
-78
lines changed

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"@commitlint/types": "^19.5.0",
3838
"@types/node": "^22.10.1",
3939
"@types/webpack-env": "^1.18.5",
40-
"@vitest/coverage-istanbul": "^2.1.8",
40+
"@vitest/coverage-istanbul": "^3.0.0-beta.2",
4141
"bumpp": "^9.9.0",
4242
"conventional-changelog-cli": "^5.0.0",
4343
"eslint": "^9.16.0",
@@ -53,8 +53,8 @@
5353
"tsconfig-vuepress": "^5.2.1",
5454
"tsup": "^8.3.5",
5555
"typescript": "~5.6.3",
56-
"vite": "~5.4.11",
57-
"vitest": "^2.1.8",
56+
"vite": "~6.0.3",
57+
"vitest": "^3.0.0-beta.2",
5858
"vue-tsc": "^2.1.10"
5959
},
6060
"packageManager": "[email protected]"

packages/bundler-vite/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"postcss": "^8.4.49",
4747
"postcss-load-config": "^6.0.1",
4848
"rollup": "^4.28.1",
49-
"vite": "~5.4.11",
49+
"vite": "~6.0.3",
5050
"vue": "^3.5.13",
5151
"vue-router": "^4.5.0"
5252
},

packages/bundler-vite/src/plugins/vuepressConfigPlugin.ts

-2
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,6 @@ export const vuepressConfigPlugin = ({
151151
host: app.options.host,
152152
port: app.options.port,
153153
open: app.options.open,
154-
// ref: https://github.com/vitejs/vite/issues/15784#issuecomment-1923683823
155-
fs: { cachedChecks: false },
156154
},
157155
build: {
158156
ssr: isServer,

pnpm-lock.yaml

+90-72
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)