CodeSampleX

サンプル

Show that preset-env rejects the string form of its modules option when invoked through Babel's transform API.

sha256:82c8c83238a38ba52483d197c772f76a8ef618576564c7c719ae7bbdf69f30bb

PUBLISHED L3_CONTRACT_PASS MIT-0

ケース

ゴール
Show that preset-env rejects the string form of its modules option when invoked through Babel's transform API. HOW
パッケージ
@babel/preset-env 8.0.2 @babel/core 8.0.1
環境
node
作成日
2026-08-17T03:15:18Z

よくある思い込み

A developer may expect `modules: "false"` to be interpreted like the documented boolean `false` mode when passed to @babel/preset-env.

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

コントラクト

ファイル

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

オリジンシーダー

csx-seed

検証レシート