Skip to content

Commit 8887331

Browse files
author
geekact
committed
chore: upgrade deps
1 parent 727f745 commit 8887331

File tree

3 files changed

+1641
-578
lines changed

3 files changed

+1641
-578
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## [2.4.2](https://github.com/geekact/vite-react/compare/v2.4.1...v2.4.2)  (2023-03-02)
2+
3+
- aliasFromTsconfig 启用时监听tsconfig.json文件
4+
- 打包后尺寸警告阈值提升到800K
5+
- 升级依赖包到最新版本
6+
17
## [2.4.1](https://github.com/geekact/vite-react/compare/v2.4.0...v2.4.1)  (2023-01-06)
28

39
- react-swc 支持传递更多选项

package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vite-react",
3-
"version": "2.4.1",
3+
"version": "2.4.2",
44
"main": "dist/index.cjs",
55
"module": "dist/index.js",
66
"types": "dist/index.d.ts",
@@ -22,9 +22,9 @@
2222
},
2323
"volta": {
2424
"node": "14.18.0",
25-
"pnpm": "7.18.1"
25+
"pnpm": "7.28.0"
2626
},
27-
"packageManager": "pnpm@7.18.1",
27+
"packageManager": "pnpm@7.28.0",
2828
"scripts": {
2929
"prepublishOnly": "tsup && echo \"import 'vite/client';\" >> dist/index.d.ts"
3030
},
@@ -34,24 +34,24 @@
3434
"dependencies": {
3535
"@types/html-minifier-terser": "^7.0.0",
3636
"@vitejs/plugin-basic-ssl": "^1.0.1",
37-
"@vitejs/plugin-legacy": "^3.0.1",
38-
"@vitejs/plugin-react": "^3.0.1",
39-
"@vitejs/plugin-react-swc": "^3.0.1",
37+
"@vitejs/plugin-legacy": "^4.0.1",
38+
"@vitejs/plugin-react": "^3.1.0",
39+
"@vitejs/plugin-react-swc": "^3.2.0",
4040
"less": "^4.1.3",
41-
"sass": "^1.57.1",
42-
"terser": "^5.16.1",
41+
"sass": "^1.58.3",
42+
"terser": "^5.16.5",
4343
"vite-plugin-html": "^3.2.0",
4444
"vite-plugin-qrcode": "^0.2.1",
45-
"vite-plugin-restart": "^0.3.0",
46-
"vite-tsconfig-paths": "^4.0.3"
45+
"vite-plugin-restart": "^0.3.1",
46+
"vite-tsconfig-paths": "^4.0.5"
4747
},
4848
"devDependencies": {
49-
"@types/node": "^18.11.18",
50-
"prettier": "^2.8.1",
51-
"rollup": "^3.9.1",
52-
"tsup": "^6.5.0",
53-
"typescript": "^4.9.4",
54-
"vite": "^4.0.3"
49+
"@types/node": "^18.14.4",
50+
"prettier": "^2.8.4",
51+
"rollup": "^3.18.0",
52+
"tsup": "^6.6.3",
53+
"typescript": "^4.9.5",
54+
"vite": "^4.1.4"
5555
},
5656
"files": [
5757
"dist",

0 commit comments

Comments
 (0)