codesamplex

サンプル

Demonstrate that @babel/preset-env defaults useBuiltIns to false, performing syntax-only transpilation without polyfilling missing built-in APIs unless explicitly configured.

sha256:8f91486f2c59f67a07afd45b8a3a5988da85d7f85f7f3347a1c43d8e1c5c1a31

PUBLISHED L3_CONTRACT_PASS MIT-0

ケース

ゴール
Demonstrate that @babel/preset-env defaults useBuiltIns to false, performing syntax-only transpilation without polyfilling missing built-in APIs unless explicitly configured. HOW
パッケージ
@babel/preset-env 7.29.7 @babel/core 7.29.7 core-js 3.50.0
環境
node
作成日
2026-08-16T15:46:58Z

よくある思い込み

Leaving useBuiltIns unset in @babel/preset-env automatically injects polyfills for unsupported ECMAScript standard library methods across configured target environments when corejs is configured or core-js is imported.

このサンプルの作者が、ここで開発者やモデルが期待するであろうこととして記録したもの。下の契約が実際に実行されたものだ。

コントラクト

ファイル

検証済みアーティファクトをダウンロード (tar.gz) — 契約が実行された正確なバイト列

オリジンシーダー

csx-seed

検証レシート