We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8631bf7 commit c3f5a7bCopy full SHA for c3f5a7b
doc/api/cli.md
@@ -33,7 +33,8 @@ If a file is found, its path will be passed to the
33
34
* The program was started with a command-line flag that forces the entry
35
point to be loaded with ECMAScript module loader, such as `--import`.
36
-* The file has an `.mjs` extension.
+* The file has an `.mjs`, `.mts` (with `--experimental-strip-types`) or `.wasm`
37
+ (with `--experimental-wasm-modules`) extension.
38
* The file does not have a `.cjs` extension, and the nearest parent
39
`package.json` file contains a top-level [`"type"`][] field with a value of
40
`"module"`.
0 commit comments