diff --git a/doc/api/cli.md b/doc/api/cli.md index 6e0b337a2a39b7..ef979a10826d5f 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -1053,6 +1053,19 @@ added: Enable exposition of [EventSource Web API][] on the global scope. +### `--experimental-ext=ext` + + + +> Stability: 1.0 - Early development + +Overrides the default entrypoint file extension resolution with a custom file extension. +This is particularly useful for entrypoints that don't have a file extension. +The allowed values are `js`, `cjs`, `mjs`, `ts`, `cts`, `mts`. +The `ts` values are not available with the flag `--no-experimental-strip-types`. + ### `--experimental-import-meta-resolve`