diff --git a/doc/api/esm.md b/doc/api/esm.md index 2e50f4fa322409..10de52d034a981 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -1303,8 +1303,8 @@ the CommonJS loader. One of the behavior differences is automatic resolution of file extensions and the ability to import directories that have an index file. -The `--experimental-specifier-resolution=[mode]` flag can be used to customize -the extension resolution algorithm. The default mode is `explicit`, which +The `--experimental-specifier-resolution=[resolution-mode]` flag can be used +to customize the extension resolution algorithm. The default mode is `explicit`, which requires the full path to a module be provided to the loader. To enable the automatic extension resolution and importing from directories that include an index file use the `node` mode.