GreatAuk / plugin-web-update-notification

Detect webpage updates and notify user to reload. support Vite, Umijs, and Webpack.
MIT License
490 stars 42 forks source link

vite 打包后 web_version_by_plugin.json 中的version 并没有变动 #48

Closed taoyao-code closed 1 year ago

GreatAuk commented 1 year ago

version 默认取的是 git commit hash。第一次打包发布后,更新了代码,需要 git commit 提交代码生成新的 hash 值,version 才会更新。否则 version 还是第一次打包对应的 commit hash

taoyao-code commented 1 year ago

好的,感谢解答🙏