-
When using the vue-router code-splitting feature. The server side app throws an error when it tries to load a chunk.
`(node:4442) UnhandledPromiseRejectionWarning: Error: Cannot find module './js/c…
-
I want to use the library in a webapp in the browser. However the bundle size is rather large even thought i do not use jetstream and several of the other APIs. To avoid having to load it an alternati…
-
## What happens?
umi4中 import alarm from "/static/acop_screw_alarm.png"加载public下的图片会提示找不到图片。
但我在另一个 umi4 的项目中,这样做又是正常的。
## Mini Showcase Repository(REQUIRED)
使用的代码:
import ref_dryer_ala…
-
I'm having some issues making the namespaces codesplitting for pages. I'm not using the NextJS internationalized routing.
I tried first to use the `clientNamespaces` like this:
```js
export con…
-
## Description
See https://commonwealth.im/edgeware/discussion/5374-pallet_supersig-joint-funding-proposal-with-w3f -- note that the error thrown is likely due to a missing `this.polkadot` import rat…
-
All of these edge cases come into play when the shims end up in a different chunk than they're used in.
## CJS shim edge cases
When outputting a ESM bundle with shims enabled:
* `__filename` will…
-
已经在config中设置了 headScripts 的loading.js
这个loading.js 会在构建后的index.html 的head标签里面,这个时候 const _root = document.querySelector('#root')的_root是没有的,所以不会执行loading。需要把这个loading的js放到dom后面才会执行。
问下这个有什么解决方法吗?
如果…
-
### Describe the bug
const [activeLocale, setLocale] = useLocale();
index.tsx:26 Uncau
ght TypeError: object null is not iterable (cannot read property Symbol(Symbol.iterator))
### Expected be…
-
### 说明
当 `codeSplitting` 的 js 分包策略采用 `granularChunks` 时,由于 `shared` 分组没有任何 `test` 限制条件,可能会发生 chunk 重复的问题:
https://github.com/umijs/umi/blob/41f190898dac8174c40706ea4064292507addd7c/packages/pr…
fz6m updated
8 months ago
-
Is it possible to split the translations by component?
I want each component to have it's own separate set of translation files.
So there would be many files for each locale, like:
Component1_en-US…