vitepress
Advanced tools
Comparing version 0.10.4 to 0.10.5
@@ -0,1 +1,7 @@ | ||
## [0.10.5](https://github.com/vuejs/vitepress/compare/v0.10.4...v0.10.5) (2021-01-02) | ||
### Bug Fixes | ||
- vite 2.0.0-beta.2 compat ([991a443](https://github.com/vuejs/vitepress/commit/991a443c70c6173aa0100fcccf57f3565e9e38d9)) | ||
## [0.10.4](https://github.com/vuejs/vitepress/compare/v0.10.3...v0.10.4) (2021-01-01) | ||
@@ -2,0 +8,0 @@ |
@@ -117,4 +117,5 @@ "use strict"; | ||
}, | ||
async handleHotUpdate(file, mods, read, server) { | ||
async handleHotUpdate(ctx) { | ||
// handle config hmr | ||
const { file, read, server } = ctx; | ||
if (file === configPath) { | ||
@@ -142,3 +143,6 @@ const newData = await config_1.resolveSiteData(root); | ||
// reload the content component | ||
return vuePlugin.handleHotUpdate(file, mods, () => vueSrc, server); | ||
return vuePlugin.handleHotUpdate({ | ||
...ctx, | ||
read: () => vueSrc | ||
}); | ||
} | ||
@@ -145,0 +149,0 @@ } |
{ | ||
"name": "vitepress", | ||
"version": "0.10.4", | ||
"version": "0.10.5", | ||
"description": "Vite & Vue powered static site generator", | ||
@@ -68,3 +68,3 @@ "main": "dist/node/index.js", | ||
"@docsearch/js": "^1.0.0-alpha.28", | ||
"@vitejs/plugin-vue": "^1.0.2", | ||
"@vitejs/plugin-vue": "^1.0.3", | ||
"@vue/compiler-sfc": "^3.0.5", | ||
@@ -92,3 +92,3 @@ "@vue/server-renderer": "^3.0.5", | ||
"slash": "^3.0.0", | ||
"vite": "^2.0.0-alpha.5", | ||
"vite": "^2.0.0-beta.2", | ||
"vue": "^3.0.5" | ||
@@ -95,0 +95,0 @@ }, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
231706
3641
237
1
3
1
43
Updated@vitejs/plugin-vue@^1.0.3
Updatedvite@^2.0.0-beta.2