-
在 RSC 场景对 HMR 有两个新增需求:
1. ~~HMR runtime 支持 `action` 消息,允许 server 端主动触发客户端刷新,用于在 RSC server 产物更新时实现 Hot Reload,未来会再想方案支持 RSC server 组件的 HMR~~(直接做 HMR 不做 reload 了)
2. 对于 async chunk 加载的模块,不能标记为 `_ma…
-
{ SyntaxError: This experimental syntax requires enabling the parser plugin: 'optionalChaining' (70:17)
at Object.raise (/Users/kelly/work/demo/umi3/pro_v4/node_modules/@umijs/block-sdk/node_modu…
-
✖ Webpack
Compiled with some errors in 10.79s
ERROR Failed to compile with 1 errors …
-
```
ERROR Failed to compile with 9 errors 4:25:07 ├F10: PM┤
These dependencies were not found:
*…
-
## What happens?
![image](https://github.com/umijs/qiankun/assets/45581808/4c3e3a98-980b-42b3-91a8-c5f61263b1c7)
![image](https://github.com/umijs/qiankun/assets/45581808/22bbc6d0-2ac0-4047-b465-9cb…
-
主应用:angular
子应用: umi3.3.3,plugin-qiankun": "^2.37.2"
报错:
`api.addMiddlewares is not a function
TypeError: api.addMiddlewares is not a function
at _default (/Users/meilingli/work/meiyou/meetyo…
-
## 背景
我们需要实现一个 analyzer,用于分析产物的构成,效果类似 https://github.com/webpack-contrib/webpack-bundle-analyzer 。
## ACTION
- [x] 调研 webpack-bundle-analyzer,把其中生成图的部分拆出来,然后确定需要生成这个图应该有什么数据结构
- [x] 调整 stat…
-
Folder Structure:
```
src
- locales
- en-US
general.ts
login.ts
...
- zh-CN
general.ts
login.ts
...
en-US.ts
zh-CN.ts
```
Usage:
i…
-
> 欢迎参与 dumi 2.0 的建设,这里是待办任务合集,持续更新中...
> 下方任务列表中带 ⭐️ 的为 first-time task,⭐️ 数量越多代表难度越高
> 做之前请先评论认领,避免冲突
详细功能规划参考 #1151
![dumi_2 0_v1](https://user-images.githubusercontent.com/5035925/18343084…
-
```
npm i
```
throw an error
```bash
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: antd-token-previewer@2.0.1
npm ERR! Found…