diff --git a/CHANGELOG.md b/CHANGELOG.md index 70295fb..71bb235 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,18 @@ +## [2.3.4](https://github.com/vitejs/vite-plugin-vue2/compare/v2.3.3...v2.3.4) (2025-01-06) + +### Bug Fixes +热更新失效 #7 ([#7](https://github.com/vitejs/vite-plugin-vue/issues/7)) + +fix(hmr): should reload if relies file changed after re-render #471 ([#471](https://github.com/vitejs/vite-plugin-vue/pull/471)) + +Fix description: The bugs in vite-plugin-vue also occur in vite-plugin-vue2, and the same solution can be used to fix them. + +### Features + +* feat: Upgrade from version 2.7.0-beta.8 to version 2.7.16. + + + ## [2.3.3](https://github.com/vitejs/vite-plugin-vue2/compare/v2.3.2...v2.3.3) (2024-11-26) diff --git a/package.json b/package.json index 1ed72c0..ced0fa5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "@vitejs/plugin-vue2", - "version": "2.3.3", + "name": "@zstings/vite-plugin-vue2", + "version": "2.3.4", "license": "MIT", "author": "Evan You", "packageManager": "pnpm@7.33.5", @@ -29,13 +29,13 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/vitejs/vite-plugin-vue2.git", + "url": "git+https://github.com/zstings/vite-plugin-vue2.git", "directory": "packages/plugin-vue" }, "bugs": { - "url": "https://github.com/vitejs/vite-plugin-vue2/issues" + "url": "https://github.com/zstings/vite-plugin-vue2/issues" }, - "homepage": "https://github.com/vitejs/vite-plugin-vue2/#readme", + "homepage": "https://github.com/zstings/vite-plugin-vue2/#readme", "peerDependencies": { "vite": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0", "vue": "^2.7.0-0" @@ -61,5 +61,9 @@ "vite": "^3.0.0", "vitest": "^0.15.1", "vue": "^2.7.0-beta.8" + }, + "publishConfig": { + "access": "public", + "registry": "https://registry.npmjs.org/" } } diff --git a/playground/hmr/TestHmr.vue b/playground/hmr/TestHmr.vue index 6653161..a84ae5c 100644 --- a/playground/hmr/TestHmr.vue +++ b/playground/hmr/TestHmr.vue @@ -1,8 +1,10 @@