Skip to content

Version Packages#929

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Open

Version Packages#929
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

weapp-tailwindcss@5.1.0

Minor Changes

  • 新增 weapp-tailwindcss/framework 工具入口,用于判断当前项目是 MPX、Taro、uni-app、uni-app x、uni-app Vite 还是 weapp-vite。检测逻辑支持 package.json、manifest.json、HBuilderX 运行目录以及 UNI_PLATFORMUNI_UTS_PLATFORMTARO_ENVMPX_CLI_MODE 等环境变量。 cc966fa by @sonofmagic
    • Vite 插件的自动 appType 推断现在复用同一套检测逻辑,并补充 uni-app x 依赖标记识别。

Patch Changes

  • 🐛 修复 Vite 开发模式下模板类名热更新后,已由 Vite 处理过的 Tailwind CSS 产物可能复用旧样式的问题。现在组件模板新增 text-[123rpx] 等任意值类名时,WXML 转译结果和生成的 wxss/acss 等样式会同步刷新。 81fed5b by @sonofmagic

    • 同时调整 Vite 样式入口判断,减少对 appmaintailwindapp-origin 等文件名的硬编码依赖,改为优先依据构建图、已记住的 CSS 源、候选集变化和实际输出关系处理。
  • 🐛 修复 Vite 构建与热更新中 Tailwind CSS 输出文件关系推断问题。样式输出后缀改为优先来自构建产物图和真实 bundle 文件名,不再依赖微信小程序 .wxss 兜底、平台后缀映射表或 app/main/app-origin 这类固定主样式文件名语义;同时补充分包、JS/TS/JSX/Vue 来源与 Taro/uni-app 非微信小程序构建回归。 78a2a06 by @sonofmagic

  • 🐛 修复 Vite 生成模式下 Tailwind CSS v4 分包样式入口在支付宝、京东、抖音等非微信小程序端可能被当作已处理 CSS 跳过,导致分包样式产物为空或缺少 @config / @source 生成结果的问题。 61f92ae by @sonofmagic

  • 🐛 统一使用 mainCssChunkMatcher(name, appType) 作为主样式匹配配置,移除 mainCssChunk 配置入口。默认行为仍然不根据 appmain、平台后缀或框架类型推断主样式,避免在多小程序、H5、iOS、Android、鸿蒙等输出中产生框架耦合。 61f92ae by @sonofmagic

@weapp-tailwindcss/build-all@0.0.39

Patch Changes

  • 📦 Dependencies cc966fa
    weapp-tailwindcss@5.1.0

@weapp-tailwindcss/website@1.0.32

Patch Changes

  • 📦 Dependencies cc966fa
    weapp-tailwindcss@5.1.0

@github-actions github-actions Bot force-pushed the changeset-release/main branch 18 times, most recently from cc3b1d7 to 0672200 Compare June 15, 2026 15:08
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 0672200 to 51f67a0 Compare June 15, 2026 16:17
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.

0 participants