修复 uni-app x Web 重要 utility 连续 HMR - #1157
Merged
Merged
Conversation
🦋 Changeset detectedLatest commit: 984efc6 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Contributor
PR 性能基准报告:部分结果
总览
Benchmark 项目矩阵
Benchmark 插件处理阶段
Benchmark 内存
Watch 明细
门禁与诊断
运行链接统计口径
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更\n\n- 修复 Web 局部样式桥接在连续 .uvue HMR 中的规则替换与清除。\n- 完整 SFC HMR 更新前清理旧 CSS 模块事务,确保当前样式模块失效并返回。\n- CSS HMR wrapper 在查询参数缺失时也不会进入 PostCSS/Sass。\n- 增加 :pt 重要类多轮回归、wrapper 回归和 issue-1144 HBuilderX Web 探针。\n\n## 验证\n\n- 相关 Vitest:108 tests passed。\n- pnpm --filter weapp-tailwindcss build 通过。\n- pnpm test:plugins:153 files / 1391 tests passed。\n- 普通 Vite demo dev server 已生成 mt-24! 对应的 !important CSS。\n- HBuilderX stable/alpha 已尝试,但当前本机分别受 IDE 项目识别与 stable/alpha 实例不匹配阻塞。\n- 静态 e2e 主要 suite 通过;剩余失败为本地 workspace 包入口未构建和 Playwright 浏览器未安装。\n\nRefs #1144