diff --git a/CHANGELOG.md b/CHANGELOG.md index c2721c71..f15c3d94 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # CHANGE LOG +## 4.4.5 + +## Feats + +- 切换 `cdn` 源至 `https://www.staticfile.org/` + ## 4.4.4 升级 `vite` 版本至 `5.0.8`。提升构建速度,并且消除了烦人的 `terser` 警告(未配置该项都会被警告,确实很烦)。 diff --git a/package.json b/package.json index 3f58c853..c6bcc870 100755 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ray-template", "private": false, - "version": "4.4.4", + "version": "4.4.5", "type": "module", "engines": { "node": "^18.0.0 || >=20.0.0", diff --git a/vite.plugin.config.ts b/vite.plugin.config.ts index 7eac1d0c..b11f1d9d 100644 --- a/vite.plugin.config.ts +++ b/vite.plugin.config.ts @@ -50,6 +50,7 @@ function onlyReportOptions(mode: string) { function onlyBuildOptions(mode: string) { return [ viteCDNPlugin({ + url: 'https://www.staticfile.org/', // modules 顺序 vue, vue-demi 必须保持当前顺序加载,否则会出现加载错误问题 modules: [ 'vue',