Conversation
abc03b1 to
75b9a20
Compare
75b9a20 to
4dadb68
Compare
- Created a new pnpm-workspace.yaml file to allow builds for core-js. - Changed module resolution in tsconfig.json from 'node' to 'bundler'. - Added path mapping for @hope-ui/solid in tsconfig.json. Signed-off-by: MadDogOwner <xiaoran@xrgzs.top>
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
Signed-off-by: MadDogOwner <xiaoran@xrgzs.top>
Signed-off-by: MadDogOwner <xiaoran@xrgzs.top>
Signed-off-by: MadDogOwner <xiaoran@xrgzs.top>
|
不要管那么老了 |
|
个人认为 Chrome 86 有必要兼容基本功能,至少要能加载出界面(预览器的问题可以忽略),需要等这个问题修复后再合并。 测试
Vite 6 在 Chrome 86 上正常,而且没有回落到 legacy chunks(控制台没有警告: Vite 8 在 Chrome 86 上回落到 legacy chunks(控制台警告: 异常情况vite-dynamic-base 插入 script 标签错误: <script src="null"></script>经过对比,两个版本插入 script 的方式没有区别,都是: <script type="module">!function(){if(window.__vite_is_modern_browser)return;console.warn("vite: loading legacy chunks, syntax error above and the same error below should be ignored");var e=document.getElementById("vite-legacy-polyfill"),n=document.createElement("script");n.src= window.__dynamic_base__+e.getAttribute('data-src'),n.onload=function(){System.import( window.__dynamic_base__+document.getElementById('vite-legacy-entry').getAttribute('data-src'))},document.body.appendChild(n)}();</script>估计这个问题之前一直存在,只不过 Chrome 86 没回落到 legacy chunks 所以没出问题。 |
Signed-off-by: MadDogOwner <xiaoran@xrgzs.top>
|
可是为什么是86而不是111?我记得之前哪个PR也有过类似的问题。 |
Signed-off-by: MadDogOwner <xiaoran@xrgzs.top>
There was a problem hiding this comment.
让 AI 修了下,实测 chrome 89 可用
根本原因总结:
这是 vite-plugin-dynamic-base 和 @vitejs/plugin-legacy 之间的冲突:
| 期望的属性 | 实际生成的属性 | |
|---|---|---|
| 检测脚本(plugin-legacy 生成) | data-src |
— |
| preloads 注入(dynamic-base 生成) | — | src(已转换) |
vite-plugin-dynamic-base 在 generateBundle 钩子里把 data-src 改成了 src,导致检测脚本 e.getAttribute("data-src") 返回 null。
修复方式: 在 vite.config.ts 中添加了一个 enforce: "post" 的 generateBundle 插件,在 vite-plugin-dynamic-base 执行之后运行,将 vite-legacy-polyfill 条目的 src 恢复为 data-src。
This PR contains the following updates:
^6.4.1→^8.0.0Release Notes
vitejs/vite (vite)
v8.0.0Compare Source
Features
vite-tsconfig-pathsplugin is detected (#21781) (ada493e)Bug Fixes
v7.3.1Compare Source
Please refer to CHANGELOG.md for details.
v7.3.0Compare Source
Please refer to CHANGELOG.md for details.
v7.2.7Compare Source
v7.2.6Compare Source
7.2.6 (2025-12-01)
v7.2.4Compare Source
Bug Fixes
v7.2.3Compare Source
Bug Fixes
bindCLIShortcutscalls with shortcut merging (#21103) (5909efd)Performance Improvements
Miscellaneous Chores
v7.2.2Compare Source
Bug Fixes
v7.2.1Compare Source
Bug Fixes
Code Refactoring
indexOfMatchInSlicetofindPreloadMarker(#21054) (f83264f)v7.2.0Compare Source
Bug Fixes
getBuiltinsresponse JSON serializable (#21029) (ad5b3bf)Miscellaneous Chores
v7.1.12Compare Source
Please refer to CHANGELOG.md for details.
v7.1.11Compare Source
Bug Fixes
server.fs.denycheck (#20968) (f479cc5)Miscellaneous Chores
Code Refactoring
Build System
v7.1.10Compare Source
Bug Fixes
//(#20760) (b95fa2a)fileToBuiltUrl(#20898) (73b6d24)Documentation
WebSocketspelling (#20890) (29e98dc)Miscellaneous Chores
v7.1.9Compare Source
Reverts
v7.1.8Compare Source
Bug Fixes
Documentation
Miscellaneous Chores
create-react-applicense (#20865) (166a178)v7.1.7Compare Source
Bug Fixes
emitAssets: truewhensharedConfigBuild: true(#20787) (4c4583c)import.meta.hot.prunecallbacks to complete before running other HMRs (#20698) (98a3484)v7.1.6Compare Source
Bug Fixes
$variables correctly (#20761) (7e8e004)skipLibCheckisfalse(#20755) (cc54e29)Miscellaneous Chores
v7.1.5Compare Source
Bug Fixes
fs.strictcheck to HTML files (#20736) (14015d7)v7.1.4Compare Source
Bug Fixes
Miscellaneous Chores
Code Refactoring
minifyparameter fromfinalizeCss(#20701) (8099582)v7.1.3Compare Source
Features
generateCodeFrame(#20640) (1559577)Bug Fixes
Performance Improvements
resolveConfig(#20646) (f691f57)Miscellaneous Chores
Code Refactoring
importin worker threads (#20641) (530687a)Tests
checkNodeVersiontest (#20647) (731d3e6)v7.1.2Compare Source
Bug Fixes
[vite]prefixes to debug logs (#20595) (7cdef61)npm:prefix as a built-in module (#20558) (ab33803)Miscellaneous Chores
@jridgewell/remappingfrom@ampproject/remapping(#20577) (0a6048a)v7.1.1Compare Source
Bug Fixes
server.fs.denycheck (#20968) (f479cc5)Miscellaneous Chores
Code Refactoring
Build System
v7.1.0Compare Source
Features
generateCodeFrame(#20508) (e7d0b2a)import.meta.mainsupport in config (bundle config loader) (#20516) (5d3e3c2)import.meta.mainsupport for Node.js module runner (#20517) (794a8f2)future: 'warn'(#20473) (e6aaf17)removeServerPluginContainerfuture deprecation (#20437) (c1279e7)removeServerReloadModulefuture deprecation (#20436) (6970d17)server.warmupRequestto future deprecation (#20431) (8ad388a)ssrFixStacktrace/ssrRewriteStacktracetoremoveSsrLoadModulefuture deprecation (#20435) (8c8f587)this.fssupport (#20301) (0fe3f2f)defaultExternalConditions(#20279) (344d302)removePluginHookSsrArgumentfuture deprecation (#20433) (95927d9)removeServerHotfuture deprecation (#20434) (259f45d)resolve.externalConditionsand addmodule-syncto default external condition (#20409) (c669c52)import.meta.resolvein module runner (#20260) (62835f7)Bug Fixes
image-setcontaining__VITE_ASSET__(#20520) (f1a2635)entryCssAssetFileNamesas an empty Set (#20542) (6a46cda)new URL(, import.meta.url)(#20507) (1b211fd)noExternal: truecorrectly (#20502) (9ebe4a5)type: asset(#20391) (7eac8dd)resolvedUrls(#20496) (62b3e0d)Performance Improvements
Miscellaneous Chores
cssScopeTo(#19592) (ced1343)Code Refactoring
http-proxy-3(#20402) (26d9872)Tests
process.features(#20544) (856d3f0)Beta Changelogs
7.1.0-beta.1 (2025-08-05)
See 7.1.0-beta.1 changelog
7.1.0-beta.0 (2025-07-30)
See 7.1.0-beta.0 changelog
v7.0.8Compare Source
Please refer to CHANGELOG.md for details.
v7.0.7Compare Source
Please refer to CHANGELOG.md for details.
v7.0.6Compare Source
Features
generateCodeFrame(#20508) (e7d0b2a)import.meta.mainsupport in config (bundle config loader) (#20516) (5d3e3c2)import.meta.mainsupport for Node.js module runner (#20517) (794a8f2)future: 'warn'(#20473) (e6aaf17)removeServerPluginContainerfuture deprecation (#20437) (c1279e7)removeServerReloadModulefuture deprecation (#20436) (6970d17)server.warmupRequestto future deprecation (#20431) (8ad388a)ssrFixStacktrace/ssrRewriteStacktracetoremoveSsrLoadModulefuture deprecation (#20435) (8c8f587)this.fssupport (#20301) (0fe3f2f)defaultExternalConditions(#20279) (344d302)removePluginHookSsrArgumentfuture deprecation (#20433) (95927d9)removeServerHotfuture deprecation (#20434) (259f45d)resolve.externalConditionsand addmodule-syncto default external condition (#20409) (c669c52)import.meta.resolvein module runner (#20260) (62835f7)Bug Fixes
image-setcontaining__VITE_ASSET__(#20520) (f1a2635)entryCssAssetFileNamesas an empty Set (#20542) (6a46cda)new URL(, import.meta.url)(#20507) (1b211fd)noExternal: truecorrectly (#20502) (9ebe4a5)type: asset(#20391) (7eac8dd)resolvedUrls(#20496) (62b3e0d)Performance Improvements
Miscellaneous Chores
cssScopeTo(#19592) (ced1343)Code Refactoring
http-proxy-3(#20402) (26d9872)Tests
process.features(#20544) (856d3f0)Beta Changelogs
7.1.0-beta.1 (2025-08-05)
See 7.1.0-beta.1 changelog
7.1.0-beta.0 (2025-07-30)
See 7.1.0-beta.0 changelog
v7.0.5Compare Source
Bug Fixes
Accept: text/html(#20376) (c9614b9)new URL(, import.meta.url)(#20382) (6bc8bf6)Miscellaneous Chores
Code Refactoring
foo.endsWith("bar")instead of/bar$/.test(foo)(#20413) (862e192)v7.0.4Compare Source
Bug Fixes
Build System
@oxc-project/runtimedevDep (#20389) (5e29602)v7.0.3Compare Source
Bug Fixes
Miscellaneous Chores
n/prefer-node-protocolrule (#20368) (38bb268)Code Refactoring
v7.0.2Compare Source
Bug Fixes
v7.0.1Compare Source
Bug Fixes
Miscellaneous Chores
v7.0.0[Compare Source](http
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.