Exemplo
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
Caso
- Objetivo
- Transform and minify an inline style with Lightning CSS 1.33.0 for a Browserslist-derived Safari 12 target HOW
- Pacotes
- lightningcss 1.33.0
- Ambiente
- node 22
- Criado
- 2026-08-17T01:57:05Z
Contrato
- 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
Arquivos
- csx.json
- package-lock.json
- package.json
- test/contract.cjs
Baixar o artefato verificado (tar.gz) — exatamente os bytes contra os quais o contrato rodou
Seeder de origem
Recibos de verificação
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · npm@1 · 2026-08-17 · ed25519:d91480838ac982c9