File tree Expand file tree Collapse file tree 3 files changed +15
-5
lines changed Expand file tree Collapse file tree 3 files changed +15
-5
lines changed Original file line number Diff line number Diff line change
1
+ ## [ 2.0.0] ( https://github.com/geekact/vite-react/compare/v1.0.0...v2.0.0 )   ;  ; (2022-12-10)
2
+
3
+ - 要求最低 vite 版本为 4.0
4
+ - 为本地 https 自动生成证书
5
+
1
6
## [ 1.0.0] ( https://github.com/geekact/vite-react/compare )   ;  ; (2022-12-09)
2
7
3
8
- 删除插件` babel-plugin-style-import ` ,antd 升级到 5.0 之后不再需要按需引入了
Original file line number Diff line number Diff line change 1
1
# vite-react
2
2
3
- 基于 [ Vite] ( https://github.com/vitejs/vite ) 工具的 react 专属版本
3
+ 基于 [ Vite] ( https://github.com/vitejs/vite ) 工具的 react 专属配置
4
+
5
+ [ ![ npm peer dependency vite version] ( https://img.shields.io/npm/dependency-version/vite-react/peer/vite?logo=vite )] ( https://github.com/vitejs/vite )
6
+ [ ![ npm] ( https://img.shields.io/npm/v/vite-react?logo=npm )] ( https://www.npmjs.com/package/vite-react )
7
+ [ ![ License] ( https://img.shields.io/github/license/geekact/vite-react?logo=open-source-initiative )] ( https://github.com/geekact/vite-react/blob/master/LICENSE )
8
+ [ ![ Code Style] ( https://img.shields.io/badge/code_style-prettier-ff69b4.svg?logo=prettier )] ( https://github.com/prettier/prettier )
4
9
5
10
# 安装
6
11
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " vite-react" ,
3
- "version" : " 1 .0.0" ,
3
+ "version" : " 2 .0.0" ,
4
4
"module" : " dist/index.js" ,
5
5
"types" : " dist/index.d.ts" ,
6
6
"sideEffects" : false ,
20
20
},
21
21
"volta" : {
22
22
"node" : " 14.18.0" ,
23
- "pnpm" : " 7.18.0 "
23
+ "pnpm" : " 7.18.1 "
24
24
},
25
- "packageManager" :
" [email protected] .0 " ,
25
+ "packageManager" :
" [email protected] .1 " ,
26
26
"scripts" : {
27
27
"prepublishOnly" : " tsup && echo \" import 'vite/client';\" >> dist/index.d.ts"
28
28
},
29
29
"peerDependencies" : {
30
- "vite" : " ^4"
30
+ "vite" : " ^4.0.0 "
31
31
},
32
32
"dependencies" : {
33
33
"@types/html-minifier-terser" : " ^7.0.0" ,
You can’t perform that action at this time.
0 commit comments