summaryrefslogtreecommitdiff
path: root/doc/api/esm.md
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2020-03-22 09:43:17 -0700
committerRich Trott <rtrott@gmail.com>2020-03-24 10:24:34 -0700
commit43922a55ea35c2ceb376e9c62e542ee4f696f1d0 (patch)
tree58517e029803c3f2cc20c5117e7dd0bfd54f16ef /doc/api/esm.md
parentf467b9b5e2cddc66c875d776aa49aed236d7b0c2 (diff)
downloadnode-new-43922a55ea35c2ceb376e9c62e542ee4f696f1d0.tar.gz
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/esm.md')
-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 a6c579466d..f8fdc0c011 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