diff options
author | Rich Trott <rtrott@gmail.com> | 2020-03-24 16:23:26 +0300 |
---|---|---|
committer | Myles Borins <mylesborins@google.com> | 2020-03-26 17:23:31 +0300 |
commit | 7e4381318b3d4dacc6ed7c050ba8d00e3546a2f7 (patch) | |
tree | b58d31fdeebb49537bfcb24289589384e51903a9 /doc | |
parent | bdfbbf6c68da7a413d5e7101ce135ea41e4e81f4 (diff) |
doc: remove unnecessary "obvious(ly)" modifiers in esm.md
Remove "obvious" and "obviously" in two places in esm.md. It may be
obvious to some, but likely not everyone or else it probably wouldn't be
worth mentioning/documenting.
PR-URL: https://github.com/nodejs/node/pull/32457
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/esm.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/esm.md b/doc/api/esm.md index 78caf93e743..fc0138babeb 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -518,7 +518,7 @@ would be usable by any version of Node.js, since `import` can refer to CommonJS files; but it would not provide any of the advantages of using ES module syntax. A package could also switch from CommonJS to ES module syntax in a breaking -change version bump. This has the obvious disadvantage that the newest version +change version bump. This has the disadvantage that the newest version of the package would only be usable in ES module-supporting versions of Node.js. Every pattern has tradeoffs, but there are two broad approaches that satisfy the @@ -1341,7 +1341,7 @@ JavaScript using the [`transformSource` hook][]. Before that hook gets called, however, other hooks need to tell Node.js not to throw an error on unknown file types; and to tell Node.js how to load this new file type. -This is obviously less performant than transpiling source files before running +This is less performant than transpiling source files before running Node.js; a transpiler loader should only be used for development and testing purposes. |