Skip to content

Commit 720296f

Browse files
committed
docs: 完善 docs
1 parent 4158a1a commit 720296f

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docs/guide/upgrade4.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# 从 3.x 迁移到 4.x
2+
3+
构建模块从 commonjs 切换到 esm
4+
5+
## 需调整内容
6+
7+
- package.json 添加 `"type": "module"`
8+
9+
## 版本 4.x 的 break
10+
11+
1. [@fesjs/builder-vite]: vite5 升级到 [vite7](https://cn.vitejs.dev/guide/migration.html)
12+
2. [@fesjs/plugin-pinia]: pinia 2.x > [3.x](https://github.com/vuejs/pinia/releases/tag/v3.0.0)
13+
14+
## 插件
15+
16+
- 移除插件[@fesjs/plugin-vuex]
17+
- 移除插件[@fesjs/plugin-windicss]
18+
- 移除插件[@fesjs/plugin-jest]

0 commit comments

Comments
 (0)