CodeSampleX

Sample

Show that modern Node can synchronously require the ESM @babel/core 8 entry point.

sha256:e07a31697ad6228f9e79706f54cf68a0ea988677610b4c1dc923184e79c1fbb5

PUBLISHED L3_CONTRACT_PASS MIT-0

Case

Goal
Show that modern Node can synchronously require the ESM @babel/core 8 entry point. HOW
Packages
@babel/core 8.0.1
Environment
node 22.18
Created
2026-08-17T03:14:47Z

Commonly assumed

Because @babel/core 8 ships as ESM, `require('@babel/core')` must always throw ERR_REQUIRE_ESM.

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