| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-07-02 | 1.3 kB | |
| v2.71.1 source code.tar.gz | 2026-07-02 | 7.5 MB | |
| v2.71.1 source code.zip | 2026-07-02 | 10.3 MB | |
| Totals: 3 Items | 17.8 MB | 0 | |
What's Changed
Bug Fixes 🐞
- fix(runtime): string-mode SSR no longer drops a route's stylesheet when the same CSS is referenced by a non-stylesheet
<link>(e.g.<link rel="prefetch">) by @deepcoldy in https://github.com/web-infra-dev/modern.js/pull/8689 - fix(runtime): streaming SSR no longer skips route stylesheets when the same CSS URL already appears as a non-stylesheet
<link>such asrel="prefetch"by @yimingjfe in https://github.com/web-infra-dev/modern.js/pull/8695
更新内容
Bug 修复 🐞
LoadableCollector.emitStyleAssets(string SSR) deduped injected route stylesheets against every<link href>in the template, so a<link rel="prefetch">for the same css URL (e.g. fromperformance.prefetch) made the real<link rel="stylesheet">be skipped and the route rendered unstyled. It now reuses the sharedhasStylesheetLinkhelper (also used by streaming SSR), which only matches existing<link rel="stylesheet">tags. 由 @deepcoldy 实现, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8689- fix(runtime): 流式 SSR 不再因为同一 CSS URL 已作为
rel="prefetch"等非 stylesheet<link>出现在模板中而跳过路由样式注入 由 @yimingjfe 实现, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8695