You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add --module node22 (or --module node20) with support for require(esm) #60534
TS1479 is "The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic import call instead."
changed the title [-]Need a way to turn off TS1479 when require(ESM) _is_ supported[/-][+]Need a way to turn off TS1479 when require(ESM) is supported[/+]on Nov 19, 2024
changed the title [-]Need a way to turn off TS1479 when require(ESM) is supported[/-][+]Add `--module node22` (or `--module node20`) with support for `require(esm)`[/+]on Dec 6, 2024
Activity
[-]Need a way to turn off TS1479 when require(ESM) _is_ supported[/-][+]Need a way to turn off TS1479 when require(ESM) is supported[/+][-]Need a way to turn off TS1479 when require(ESM) is supported[/-][+]Add `--module node22` (or `--module node20`) with support for `require(esm)`[/+]refactor(core): drop CommonJS dist, ship ESM-only