Exemplo
Verify how @babel/preset-env resolves syntax transpilation across empty targets fallback, esmodules baseline, explicit target overrides, and legacy browserslist intersections
sha256:97760120fdf240eaed415d60f21aef67ed38fcd27c132e95321fa4a5c2dad5cc
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Caso
- Objetivo
- Verify how @babel/preset-env resolves syntax transpilation across empty targets fallback, esmodules baseline, explicit target overrides, and legacy browserslist intersections HOW
- Pacotes
- @babel/core 8.0.1 @babel/preset-env 8.0.2
- Ambiente
- node
- Criado
- 2026-08-15T14:43:10Z
Contrato
- assert empty targets with ignored browserslist compiles all ES2015+ features down to ES5 helpers and var functions
- assert esmodules: true preserves ES2015 baseline syntax but still transpiles ES2020+ nullish coalescing, optional chaining, and private fields
- assert explicit modern target chrome: 120 preserves all modern syntax and overrides legacy baseline
- assert esmodules: true combined with incompatible legacy browserslist query intersects to empty set and forces full ES5 transpilation
- assert preset-level targets override top-level Babel core options targets
Arquivos
- NOTES.md
- csx.json
- package-lock.json
- package.json
- test/contract.mjs
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 · node-typescript@1 · 2026-08-15 · ed25519:d91480838ac982c9