Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Commit

Permalink
chore: bump vite version to 4 (#819)
Browse files Browse the repository at this point in the history
#### What type of PR is this?

/kind improvement

#### What this PR does / why we need it:

升级 Vite 到 Vite 4,请看:

- https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md#400-2022-12-09
- https://cn.vitejs.dev/guide/migration.html

无破坏更新。

#### Which issue(s) this PR fixes:

Fixes halo-dev/halo#3134

#### Special notes for your reviewer:

测试方式:

1. 测试开发环境和生产环境是否加载正常即可。
2. 测试包含 Console 的插件是否正常加载。

#### Does this PR introduce a user-facing change?

```release-note
升级 Console 项目的 Vite 版本到 Vite 4
```
  • Loading branch information
ruibaby committed Jan 13, 2023
1 parent 2ef02f2 commit 6e6b35b
Show file tree
Hide file tree
Showing 2 changed files with 503 additions and 123 deletions.
8 changes: 4 additions & 4 deletions package.json
Expand Up @@ -94,8 +94,8 @@
"@types/node": "^18.11.9",
"@types/qs": "^6.9.7",
"@types/randomstring": "^1.1.8",
"@vitejs/plugin-vue": "^3.2.0",
"@vitejs/plugin-vue-jsx": "^2.1.1",
"@vitejs/plugin-vue": "^4.0.0",
"@vitejs/plugin-vue-jsx": "^3.0.0",
"@vitest/ui": "^0.25.3",
"@vue/compiler-sfc": "^3.2.45",
"@vue/eslint-config-prettier": "^7.0.0",
Expand All @@ -122,13 +122,13 @@
"tailwindcss-themer": "^2.0.2",
"typescript": "~4.7.4",
"unplugin-icons": "^0.14.14",
"vite": "^3.2.4",
"vite": "^4.0.4",
"vite-compression-plugin": "^0.0.4",
"vite-plugin-externals": "^0.5.1",
"vite-plugin-html": "^3.2.0",
"vite-plugin-pwa": "^0.13.3",
"vite-plugin-static-copy": "^0.11.1",
"vitest": "^0.25.3",
"vue-tsc": "^1.0.9"
"vue-tsc": "^1.0.24"
}
}

1 comment on commit 6e6b35b

@vercel
Copy link

@vercel vercel bot commented on 6e6b35b Jan 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ui – ./

ui-git-main-halo-dev.vercel.app
ui-halo-dev.vercel.app
halo-admin-ui.vercel.app

Please sign in to comment.