Skip to content

Commit

Permalink
feat(bundler-vite): upgrade vite to v6
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorlxy committed Dec 11, 2024
1 parent 5230ee4 commit faddbe6
Show file tree
Hide file tree
Showing 4 changed files with 94 additions and 78 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@commitlint/types": "^19.5.0",
"@types/node": "^22.10.1",
"@types/webpack-env": "^1.18.5",
"@vitest/coverage-istanbul": "^2.1.8",
"@vitest/coverage-istanbul": "^3.0.0-beta.2",
"bumpp": "^9.9.0",
"conventional-changelog-cli": "^5.0.0",
"eslint": "^9.16.0",
Expand All @@ -53,8 +53,8 @@
"tsconfig-vuepress": "^5.2.1",
"tsup": "^8.3.5",
"typescript": "~5.6.3",
"vite": "~5.4.11",
"vitest": "^2.1.8",
"vite": "~6.0.3",
"vitest": "^3.0.0-beta.2",
"vue-tsc": "^2.1.10"
},
"packageManager": "[email protected]"
Expand Down
2 changes: 1 addition & 1 deletion packages/bundler-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"postcss": "^8.4.49",
"postcss-load-config": "^6.0.1",
"rollup": "^4.28.1",
"vite": "~5.4.11",
"vite": "~6.0.3",
"vue": "^3.5.13",
"vue-router": "^4.5.0"
},
Expand Down
2 changes: 0 additions & 2 deletions packages/bundler-vite/src/plugins/vuepressConfigPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,6 @@ export const vuepressConfigPlugin = ({
host: app.options.host,
port: app.options.port,
open: app.options.open,
// ref: https://github.com/vitejs/vite/issues/15784#issuecomment-1923683823
fs: { cachedChecks: false },
},
build: {
ssr: isServer,
Expand Down
162 changes: 90 additions & 72 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit faddbe6

Please sign in to comment.