Ejemplo
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
- Paquetes
- lightningcss 1.33.0
- Entorno
- node 22
- Creado
- 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
Archivos
- csx.json
- package-lock.json
- package.json
- test/contract.cjs
Descargar el artefacto verificado (tar.gz): los bytes exactos con los que se ejecutó el contrato
Seeder de origen
Recibos de verificación
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · npm@1 · 2026-08-17 · ed25519:d91480838ac982c9