Skip to content

feat: 完善 Compiler/PostCSS API - #1135

Merged
sonofmagic merged 5 commits into
mainfrom
codex/issue-1133-1134
Aug 29, 2026
Merged

feat: 完善 Compiler/PostCSS API#1135
sonofmagic merged 5 commits into
mainfrom
codex/issue-1133-1134

Conversation

@sonofmagic

Copy link
Copy Markdown
Owner

Summary

  • 完善 Compiler CSS finalization、Root API 与公开类型导出。
  • 增加 source glob-aware invalidation、virtual CSS source 生命周期和 root 淘汰回调。
  • 透传 template filename,并同步回归测试、API 文档和中文 changeset。

Verification

  • pnpm install --frozen-lockfile
  • pnpm build:ci
  • pnpm --filter @weapp-tailwindcss/postcss test -- --coverage.enabled=false
  • pnpm --filter weapp-tailwindcss exec vitest run test/compiler/core-compiler.test.ts test/compiler/core-compiler-lifecycle.test.ts --coverage.enabled=false
  • pnpm --filter @weapp-tailwindcss/postcss lint
  • pnpm --filter weapp-tailwindcss lint
  • pnpm tsd:weapp-tailwindcss

全量 test:coretest:plugins 另有既有环境问题,详见任务记录。

Refs #1133
Refs #1134

@changeset-bot

changeset-bot Bot commented Aug 29, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 7d13743

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

@sonofmagic
sonofmagic merged commit c7133de into main Aug 29, 2026
160 of 161 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant