Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2020-03-22 19:43:17 +0300
committerRich Trott <rtrott@gmail.com>2020-03-24 20:24:34 +0300
commit43922a55ea35c2ceb376e9c62e542ee4f696f1d0 (patch)
tree58517e029803c3f2cc20c5117e7dd0bfd54f16ef /doc/api
parentf467b9b5e2cddc66c875d776aa49aed236d7b0c2 (diff)
doc: improve wording in esm.md
Simplify complex sentence. Remove use of "straightforward". PR-URL: https://github.com/nodejs/node/pull/32427 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/esm.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/esm.md b/doc/api/esm.md
index a6c579466da..f8fdc0c011b 100644
--- a/doc/api/esm.md
+++ b/doc/api/esm.md
@@ -620,8 +620,8 @@ stateless):
##### Approach #2: Isolate State
-The most straightforward `package.json` would be one that defines the separate
-CommonJS and ES module entry points directly:
+A `package.json` file can define the separate CommonJS and ES module entry
+points directly:
<!-- eslint-skip -->
```js