From bf6c4ae8737f767bd52fb28e2f2edfefbfec4f1d Mon Sep 17 00:00:00 2001 From: Uri Goldshtein Date: Sat, 3 Jul 2021 17:49:03 +0300 Subject: [PATCH 1/3] Fix typo in --specifier-resolution=[node] --- doc/api/esm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/esm.md b/doc/api/esm.md index 2e50f4fa322409..b7dc8e284ca828 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -1303,7 +1303,7 @@ 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 `--experimental-specifier-resolution=[node]` 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 From 130aa0739b2a69f44aa5f6d662f5fd38a053c7fb Mon Sep 17 00:00:00 2001 From: Uri Goldshtein Date: Sun, 4 Jul 2021 18:22:52 +0300 Subject: [PATCH 2/3] A clearer parameter name --- doc/api/esm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/esm.md b/doc/api/esm.md index b7dc8e284ca828..41c6b809ce8515 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -1303,7 +1303,7 @@ 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=[node]` flag can be used to customize +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 From b7146e04442789ed56cb2cb86e0504d66576a3e7 Mon Sep 17 00:00:00 2001 From: Uri Goldshtein Date: Tue, 6 Jul 2021 20:58:14 +0300 Subject: [PATCH 3/3] Fix lint --- doc/api/esm.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/esm.md b/doc/api/esm.md index 41c6b809ce8515..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=[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.