Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/guide/api-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,7 @@ Vite plugins can also provide hooks that serve Vite-specific purposes. These hoo
server: ViteDevServer
}
```

- `modules` is an array of modules that are affected by the changed file. It's an array because a single file may map to multiple served modules (e.g. Vue SFCs).

- `read` is an async read function that returns the content of the file. This is provided because on some systems, the file change callback may fire too fast before the editor finishes updating the file and direct `fs.readFile` will return empty content. The read function passed in normalizes this behavior.
Expand Down
1 change: 1 addition & 0 deletions docs/guide/backend-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ If you need a custom integration, you can follow the steps in this guide to conf
}
}
```

- The manifest has a `Record<name, chunk>` structure
- For entry or dynamic entry chunks, the key is the relative src path from project root.
- For non entry chunks, the key is the base name of the generated file prefixed with `_`.
Expand Down
6 changes: 3 additions & 3 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
"@types/express": "^5.0.3",
"feed": "^5.1.0",
"gsap": "^3.13.0",
"vitepress": "^2.0.0-alpha.6",
"vitepress-plugin-group-icons": "^1.6.0",
"vitepress-plugin-llms": "^1.5.1",
"vitepress": "^2.0.0-alpha.7",
"vitepress-plugin-group-icons": "^1.6.1",
"vitepress-plugin-llms": "^1.6.0",
"vue": "^3.5.17"
}
}
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"ci-docs": "pnpm build && pnpm docs-build"
},
"devDependencies": {
"@eslint/js": "^9.29.0",
"@eslint/js": "^9.30.0",
"@type-challenges/utils": "^0.1.1",
"@types/babel__core": "^7.20.5",
"@types/babel__preset-env": "^7.10.0",
Expand All @@ -50,27 +50,27 @@
"@types/estree": "^1.0.8",
"@types/etag": "^1.8.4",
"@types/less": "^3.0.8",
"@types/node": "^22.15.32",
"@types/node": "^22.15.34",
"@types/picomatch": "^4.0.0",
"@types/stylus": "^0.48.43",
"@types/ws": "^8.18.1",
"@vitejs/release-scripts": "^1.5.0",
"conventional-changelog-cli": "^5.0.0",
"eslint": "^9.29.0",
"eslint-plugin-import-x": "^4.15.2",
"eslint": "^9.30.0",
"eslint-plugin-import-x": "^4.16.1",
"eslint-plugin-n": "^17.20.0",
"eslint-plugin-regexp": "^2.9.0",
"execa": "^9.6.0",
"globals": "^16.2.0",
"lint-staged": "^16.1.2",
"picocolors": "^1.1.1",
"playwright-chromium": "^1.53.1",
"prettier": "3.6.0",
"prettier": "3.6.2",
"rollup": "^4.40.0",
"simple-git-hooks": "^2.13.0",
"tsx": "^4.20.3",
"typescript": "~5.7.2",
"typescript-eslint": "^8.34.1",
"typescript-eslint": "^8.35.0",
"vite": "workspace:*",
"vitest": "^3.2.4"
},
Expand All @@ -91,7 +91,7 @@
"eslint --cache --fix"
]
},
"packageManager": "[email protected].2",
"packageManager": "[email protected].4",
"stackblitz": {
"startCommand": "pnpm --filter='./packages/vite' run dev"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/create-vite/template-preact-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"preact": "^10.26.9"
},
"devDependencies": {
"@preact/preset-vite": "^2.10.1",
"@preact/preset-vite": "^2.10.2",
"typescript": "~5.8.3",
"vite": "^7.0.0"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/create-vite/template-preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"preact": "^10.26.9"
},
"devDependencies": {
"@preact/preset-vite": "^2.10.1",
"@preact/preset-vite": "^2.10.2",
"vite": "^7.0.0"
}
}
8 changes: 4 additions & 4 deletions packages/create-vite/template-react-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@
"react-dom": "^19.1.0"
},
"devDependencies": {
"@eslint/js": "^9.29.0",
"@eslint/js": "^9.30.0",
"@types/react": "^19.1.8",
"@types/react-dom": "^19.1.6",
"@vitejs/plugin-react": "^4.5.2",
"eslint": "^9.29.0",
"@vitejs/plugin-react": "^4.6.0",
"eslint": "^9.30.0",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.20",
"globals": "^16.2.0",
"typescript": "~5.8.3",
"typescript-eslint": "^8.34.1",
"typescript-eslint": "^8.35.0",
"vite": "^7.0.0"
}
}
6 changes: 3 additions & 3 deletions packages/create-vite/template-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
"react-dom": "^19.1.0"
},
"devDependencies": {
"@eslint/js": "^9.29.0",
"@eslint/js": "^9.30.0",
"@types/react": "^19.1.8",
"@types/react-dom": "^19.1.6",
"@vitejs/plugin-react": "^4.5.2",
"eslint": "^9.29.0",
"@vitejs/plugin-react": "^4.6.0",
"eslint": "^9.30.0",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.20",
"globals": "^16.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/create-vite/template-solid-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"devDependencies": {
"typescript": "~5.8.3",
"vite": "^7.0.0",
"vite-plugin-solid": "^2.11.6"
"vite-plugin-solid": "^2.11.7"
}
}
2 changes: 1 addition & 1 deletion packages/create-vite/template-solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
},
"devDependencies": {
"vite": "^7.0.0",
"vite-plugin-solid": "^2.11.6"
"vite-plugin-solid": "^2.11.7"
}
}
2 changes: 1 addition & 1 deletion packages/create-vite/template-svelte-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^5.1.0",
"@tsconfig/svelte": "^5.0.4",
"svelte": "^5.34.7",
"svelte": "^5.34.9",
"svelte-check": "^4.2.2",
"typescript": "~5.8.3",
"vite": "^7.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/create-vite/template-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^5.1.0",
"svelte": "^5.34.7",
"svelte": "^5.34.9",
"vite": "^7.0.0"
}
}
4 changes: 2 additions & 2 deletions packages/plugin-legacy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
"homepage": "https://github.com/vitejs/vite/tree/main/packages/plugin-legacy#readme",
"funding": "https://github.com/vitejs/vite?sponsor=1",
"dependencies": {
"@babel/core": "^7.27.4",
"@babel/core": "^7.27.7",
"@babel/preset-env": "^7.27.2",
"browserslist": "^4.25.0",
"browserslist": "^4.25.1",
"browserslist-to-esbuild": "^2.1.1",
"core-js": "^3.43.0",
"magic-string": "^0.30.17",
Expand Down
4 changes: 2 additions & 2 deletions packages/vite/LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -323,9 +323,9 @@ Repository: git+https://github.com/jridgewell/sourcemap-codec.git
## @jridgewell/trace-mapping
License: MIT
By: Justin Ridgewell
Repository: git+https://github.com/jridgewell/trace-mapping.git
Repository: git+https://github.com/jridgewell/sourcemaps.git

> Copyright 2022 Justin Ridgewell <[email protected]>
> Copyright 2024 Justin Ridgewell <[email protected]>
>
> Permission is hereby granted, free of charge, to any person obtaining a copy
> of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 4 additions & 4 deletions packages/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@
},
"devDependencies": {
"@ampproject/remapping": "^2.3.0",
"@babel/parser": "^7.27.5",
"@jridgewell/trace-mapping": "^0.3.25",
"@babel/parser": "^7.27.7",
"@jridgewell/trace-mapping": "^0.3.26",
"@oxc-project/runtime": "^0.70.0",
"@oxc-project/types": "^0.70.0",
"@polka/compression": "^1.0.0-next.25",
Expand All @@ -114,7 +114,7 @@
"cross-spawn": "^7.0.6",
"debug": "^4.4.1",
"dep-types": "link:./src/types",
"dotenv": "^16.5.0",
"dotenv": "^16.6.1",
"dotenv-expand": "^12.0.2",
"es-module-lexer": "^1.7.0",
"escape-html": "^1.0.3",
Expand Down Expand Up @@ -149,7 +149,7 @@
"tsconfck": "^3.1.6",
"types": "link:./types",
"ufo": "^1.6.1",
"ws": "^8.18.2"
"ws": "^8.18.3"
},
"peerDependencies": {
"@types/node": "^20.19.0 || >=22.12.0",
Expand Down
4 changes: 2 additions & 2 deletions playground/backend-integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"preview": "vite preview"
},
"devDependencies": {
"@tailwindcss/vite": "^4.1.10",
"@tailwindcss/vite": "^4.1.11",
"sass": "^1.89.2",
"tailwindcss": "^4.1.10",
"tailwindcss": "^4.1.11",
"tinyglobby": "^0.2.14"
}
}
2 changes: 1 addition & 1 deletion playground/fs-serve/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"preview:deny": "vite preview root --config ./root/vite.config-deny.js"
},
"devDependencies": {
"ws": "^8.18.2"
"ws": "^8.18.3"
}
}
2 changes: 1 addition & 1 deletion playground/ssr-webworker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@vitejs/test-worker-exports": "file:./worker-exports"
},
"devDependencies": {
"miniflare": "^4.20250617.3",
"miniflare": "^4.20250617.4",
"@vitejs/test-resolve-linked": "workspace:*"
}
}
4 changes: 2 additions & 2 deletions playground/tailwind-sourcemap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"preview": "vite preview"
},
"dependencies": {
"@tailwindcss/postcss": "^4.1.10",
"tailwindcss": "^4.1.10"
"@tailwindcss/postcss": "^4.1.11",
"tailwindcss": "^4.1.11"
}
}
4 changes: 2 additions & 2 deletions playground/tailwind/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"preview": "vite preview"
},
"dependencies": {
"@tailwindcss/vite": "^4.1.10",
"tailwindcss": "^4.1.10"
"@tailwindcss/vite": "^4.1.11",
"tailwindcss": "^4.1.11"
},
"devDependencies": {
"tsx": "^4.20.3"
Expand Down
Loading