diff --git a/doc/api/cli.md b/doc/api/cli.md index 2c4e26dc1e407b..dc034f8896b293 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -617,6 +617,20 @@ files with no extension will be treated as WebAssembly if they begin with the WebAssembly magic number (`\0asm`); otherwise they will be treated as ES module JavaScript. +### `--experimental-entry-url` + + + +> Stability: 1.0 - Early development + +When present, Node.js will interpret the entry point as a URL, rather than a +path. The URL must either start with `./` (e.g. `./entry.js`) or be absolute +(e.g. `file:///home/user/entry.js`). Bare specifier (e.g. `entry.js`) won't +work. + ### `--experimental-import-meta-resolve`