Version Packages#929
Open
github-actions[bot] wants to merge 1 commit into
Open
Conversation
cc3b1d7 to
0672200
Compare
0672200 to
51f67a0
Compare
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.
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_PLATFORM、UNI_UTS_PLATFORM、TARO_ENV、MPX_CLI_MODE等环境变量。cc966faby @sonofmagicappType推断现在复用同一套检测逻辑,并补充 uni-app x 依赖标记识别。Patch Changes
🐛 修复 Vite 开发模式下模板类名热更新后,已由 Vite 处理过的 Tailwind CSS 产物可能复用旧样式的问题。现在组件模板新增
text-[123rpx]等任意值类名时,WXML 转译结果和生成的wxss/acss等样式会同步刷新。81fed5bby @sonofmagicapp、main、tailwind、app-origin等文件名的硬编码依赖,改为优先依据构建图、已记住的 CSS 源、候选集变化和实际输出关系处理。🐛 修复 Vite 构建与热更新中 Tailwind CSS 输出文件关系推断问题。样式输出后缀改为优先来自构建产物图和真实 bundle 文件名,不再依赖微信小程序
.wxss兜底、平台后缀映射表或app/main/app-origin这类固定主样式文件名语义;同时补充分包、JS/TS/JSX/Vue 来源与 Taro/uni-app 非微信小程序构建回归。78a2a06by @sonofmagic🐛 修复 Vite 生成模式下 Tailwind CSS v4 分包样式入口在支付宝、京东、抖音等非微信小程序端可能被当作已处理 CSS 跳过,导致分包样式产物为空或缺少
@config/@source生成结果的问题。61f92aeby @sonofmagic🐛 统一使用
mainCssChunkMatcher(name, appType)作为主样式匹配配置,移除mainCssChunk配置入口。默认行为仍然不根据app、main、平台后缀或框架类型推断主样式,避免在多小程序、H5、iOS、Android、鸿蒙等输出中产生框架耦合。61f92aeby @sonofmagic@weapp-tailwindcss/build-all@0.0.39
Patch Changes
cc966fa→
weapp-tailwindcss@5.1.0@weapp-tailwindcss/website@1.0.32
Patch Changes
cc966fa→
weapp-tailwindcss@5.1.0