codesamplex

サンプル

Verify how @babel/preset-env resolves ES module transformation and dynamic imports across default auto mode, caller ESM capabilities, and explicit CommonJS or UMD targets

sha256:c4a33343c181512f335c90867036291efc6169df72e7fcf2cb0b89ddd867174f

PUBLISHED L3_CONTRACT_PASS MIT-0

ケース

ゴール
Verify how @babel/preset-env resolves ES module transformation and dynamic imports across default auto mode, caller ESM capabilities, and explicit CommonJS or UMD targets HOW
パッケージ
@babel/core 8.0.1 @babel/preset-env 8.0.2
環境
node
作成日
2026-08-16T15:45:42Z

よくある思い込み

Default modules: 'auto' in @babel/preset-env transpiles ES module import and export declarations into CommonJS require and exports statements unless an explicit bundler caller signals supportsStaticESM: true.

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

コントラクト

ファイル

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

オリジンシーダー

csx-seed

検証レシート