feat(@vant/cli): bump vite 3.0 (#10842)

* feat(@vant/cli): bump vite 3.0

* chore: bump vite plugins
This commit is contained in:
neverland
2022-07-23 18:59:57 +08:00
committed by GitHub
parent a31f78b07a
commit 74c1c2927e
4 changed files with 55 additions and 30 deletions
+5
View File
@@ -1,5 +1,10 @@
# 更新日志
## v5.0.0 (未发布)
- 升级 `vite` 3.0.0
- 不再默认安装 `gh-pages` 依赖,请将 `package.json` 中的 `gh-pages -d site-dist` 替换为 `npx gh-pages -d site-dist`
## v4.0.3
`2022-07-02`
+3 -3
View File
@@ -57,8 +57,8 @@
"@vant/markdown-vetur": "^2.3.0",
"@vant/stylelint-config": "^1.4.2",
"@vant/touch-emulator": "^1.3.2",
"@vitejs/plugin-vue": "^2.0.0",
"@vitejs/plugin-vue-jsx": "^1.3.3",
"@vitejs/plugin-vue": "^3.0.1",
"@vitejs/plugin-vue-jsx": "^2.0.0",
"@vue/babel-plugin-jsx": "^1.1.1",
"autoprefixer": "^10.4.0",
"commander": "^9.3.0",
@@ -88,7 +88,7 @@
"stylelint": "^13.0.0",
"transliteration": "^2.2.0",
"typescript": "^4.7.4",
"vite": "^2.9.0",
"vite": "^3.0.0",
"vite-plugin-html": "^2.1.1",
"vite-plugin-md": "^0.11.4",
"vue-router": "^4.0.12"
+1 -1
View File
@@ -204,7 +204,7 @@ export function getViteConfigForSiteProd(): InlineConfig {
base: publicPath,
build: {
outDir,
brotliSize: false,
reportCompressedSize: false,
emptyOutDir: true,
// https://github.com/youzan/vant/issues/9703
cssTarget: ['chrome53'],