fix(css): preserve user variables during generated cleanup - #1197
Merged
Merged
Conversation
🦋 Changeset detectedLatest commit: 0cdac28 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 明细
门禁与诊断
运行链接统计口径
|
sonofmagic
force-pushed
the
codex/ci-css-release-recovery
branch
from
September 13, 2026 14:19
3257990 to
0cc599c
Compare
sonofmagic
force-pushed
the
codex/ci-css-release-recovery
branch
from
September 13, 2026 14:20
0cc599c to
7a4a494
Compare
This was referenced Sep 13, 2026
Owner
Author
|
补充提交 b6d2590 已推送到 codex/ci-css-release-recovery。
|
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.
变更
修复 Tailwind v4 主题清理、框架 vendor CSS 恢复和小程序最终产物边界:按生成来源精确删除主题声明,保留用户变量、优先级和覆盖顺序;按条件上下文、选择器和完整声明恢复 vendor CSS,兼容 legacy/graph、大产物、层和组合选择器;公开 core weapp 最终化入口移除 Tailwind banner,避免 weapp-vite 集成留下 WXSS 检测误报。
补充跨平台 Taro issue-998 行为断言、WXSS AST 全局选择器检测、NutUI/vendor 真实组合回归、framework composition 单元回归和 core banner 边界回归。新增中文 patch changeset
.changeset/tidy-css-cleanup.md,只覆盖weapp-tailwindcss。验证
CI=1 pnpm test --update=none:542 files,5302 passed,47 skipped。CI=1 pnpm test:release:222 passed,4 skipped。--update=none串行复核)。pnpm agents:check、git diff --check、冻结 lockfile 安装和核心包构建通过。pnpm typecheck仍有基线 445 条诊断,与修改前逐条比较无新增;未将其报告为全绿。相关 Issue
Mpx 多平台及性能边界补充
默认 matcher 补齐
.ddml/.ddss,修复钉钉模板类名和 rem2rpx 适配被跳过的问题。五个 Mpx 平台基线只删除旧的未转换 rem 值,生产与 HMR 全部保持--spacing: 8rpx。保留纯生成路径的优化,撤回会留下重复@charset的空生成路径短路,并新增边界回归。CI=1 E2E_PROJECT_FILTER='^mpx-tailwindcss-v4$' pnpm e2e:static --update=none:64 文件、342 测试通过,15 文件、44 测试跳过。0cdac282a的五项 benchmark 与 performance guard 均通过,新 head 的 CI 仍需等待完成。