Download Latest Version v3.8.0 source code.zip (5.7 MB)
Email in envelope

Get an email when there's a new version of Modern.js

Home / v2.71.1
Name Modified Size InfoDownloads / 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 🐞

更新内容

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. from performance.prefetch) made the real <link rel="stylesheet"> be skipped and the route rendered unstyled. It now reuses the shared hasStylesheetLink helper (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
Source: README.md, updated 2026-07-02