示例
Transform and minify an inline style with Lightning CSS 1.33.0 for a Browserslist-derived Safari 12 target
sha256:a455d54bcaffa5c281b8a4ec09e90a4b4a92e87c79ee4e8cc2cfaa97c5165127
PUBLISHED
L3_CONTRACT_PASS
MIT-0
案例
- 目标
- Transform and minify an inline style with Lightning CSS 1.33.0 for a Browserslist-derived Safari 12 target HOW
- 包
- lightningcss 1.33.0
- 环境
- node 22
- 创建时间
- 2026-08-17T01:57:05Z
契约
- assert browserslistToTargets encodes Safari 12 as the packed target value 12 shifted by 16 bits
- assert transformStyleAttribute returns a Buffer containing declarations without selector braces
- assert minification merges four margin declarations, reduces rgb red to its keyword, and adds the Safari webkit user-select prefix while retaining the standard declaration
文件
- csx.json
- package-lock.json
- package.json
- test/contract.cjs
下载已验证的构件 (tar.gz) — 契约实际运行的那些字节
原始种子者
验证回执
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · npm@1 · 2026-08-17 · ed25519:d91480838ac982c9