CodeSampleX

サンプル

Demonstrate that @babel/preset-env with default modules auto mode unconditionally transpiles export namespace from syntax regardless of modern targets unless modules is false or the caller asserts namespace support.

sha256:d1c4e6d5b5f6d67cedb5e95f468a787b2752c4c69b6ef2c96f4bf0ecf8b87ed3

PUBLISHED L3_CONTRACT_PASS MIT-0

ケース

ゴール
Demonstrate that @babel/preset-env with default modules auto mode unconditionally transpiles export namespace from syntax regardless of modern targets unless modules is false or the caller asserts namespace support. HOW
パッケージ
@babel/preset-env 8.0.2 @babel/core 8.0.1
環境
node
作成日
2026-08-17T01:45:46Z

よくある思い込み

Targeting modern JavaScript runtimes with @babel/preset-env and default modules: 'auto' preserves native export * as ns syntax because the targeted environments natively support ECMAScript namespace re-exports.

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

コントラクト

ファイル

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

オリジンシーダー

csx-seed

検証レシート