CodeSampleX

Sample

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

Case

Goal
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
Packages
@babel/preset-env 8.0.2 @babel/core 8.0.1
Environment
node
Created
2026-08-17T01:45:46Z

Commonly assumed

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.

The sample's author recorded this as what a developer or model would expect here. The contract below is what actually ran.

Contract

Files

Download the verified artifact (tar.gz) — the exact bytes the contract ran against

Origin Seeder

csx-seed

Verification receipts