-
## What happens?
config/config.ts 开启了 vite 模式,本地开发没问题,配置如下:
```javascript
export default defineConfig({
hash: true,
initialState: {},
model: {},
plugins: [],
layout…
-
## 功能描述
为了支持 MPA 场景,需要支持多 entry,配置方式类似:
```ts
{
entry: {
pageA: './src/pages/A.tsx',
pageB: './src/pages/B.tsx'
}
}
```
以及在 MPA 的场景下,提取 shared chunk 是常见需求,需要 Code Splitting…
-
## What happens?
直接在config文件更新 theme,可以热更新,但是引入变量后,在变量里面修改,无法热更新,
设置mfsu:false,也无效
![image](https://github.com/umijs/umi/assets/42568595/338bdef5-48d4-45dc-8def-be242499fc48)
## Mini Showcase …
-
### Describe the bug
![image](https://user-images.githubusercontent.com/19301714/234818861-1b25400b-02c9-4bf8-be6b-cff1a8cf688d.png)
构建时候报错,fast-glob这个库匹配文件会出现undefined的情况
### Expected behavior
…
-
Hello,
> Deprecated: Class-based Route guards are deprecated in favor of functional guards. An injectable class can be used as a functional guard using the `inject` function: `canActivate: [() => i…
TCB13 updated
3 months ago
-
### Command
build
### Is this a regression?
- [x] Yes, this behavior used to work in the previous version
### The previous version in which this bug was not present was
Angular 16/17 - …
-
Small optimization for JS.
-
Continuing from discussions like https://github.com/rails/webpacker/issues/3068
We are now raising an error when pack_tag helpers are used multiple times during the rendering. This solves hard to d…
-
# 🙋 feature request
Code splitting via `import()` creates a `script` tag and injects it ([Parcel source](https://github.com/parcel-bundler/parcel/blob/7717e2547f510c89ea57bbfec62147bfb912ba49/packa…
-
I just upgraded to `0.53.0` and Rollup no longer [even tries](https://github.com/rollup/rollup/issues/1669) to watch anything. Instead, it exits back to the command line right after the first build as…