Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4be2f04
commit 8f52802
Showing
5 changed files
with
1,461 additions
and
1,391 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
8f52802
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
备注:
@pureadmin/utils
升级到最新版,@pureadmin/utils
的getPackageSize
方法从cjs
中移除,不在浏览器中使用nodejs
的内建模块,如fs
遵守 vite 标准axios
版本固定到v1.2.2
因为之后的版本类型做了很多调整,暂时不稳定,如果不固定,当用户手动删除平台的pnpm-lock.yaml
文件并重新安装依赖后,会出现类型报错,固定后整体并没有任何影响xgplayer
从v2
版本升级到v3
,有break change
具体参考 V2-V3升级指南unplugin-vue-define-options
版本固定到v1.1.6
因为之后的版本会出现下图的类型报错,当然作者也提供了 解决办法 但是对于平台整体不稳定,所以采用固定版本对平台没有任何影响,当然值得期待的是vue
将在v3.3.0
版本加入defineOptions
marco 的支持 feat(compiler-sfc): add defineOptions marco vuejs/core#5738 平台将在此版本升级后删除unplugin-vue-define-options
直接使用vue
的内置defineOptions
apivite
升级到v4.3.0
版本,该版本带来了很多性能提升,具体看 vite/CHANGELOG.md