mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
doc: adjust wording to eliminate awkward typography
PR-URL: https://github.com/nodejs/node/pull/45398 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Jacob Smith <jacob@frende.me>
This commit is contained in:
1 parent
24bfe543c5
commit
c6b89abc5f
1 file changed
+2
-2
+2
-2
@@ -90,8 +90,8 @@ By default, Node.js will treat the following as CommonJS modules:
|
||||
* Files with an extension that is not `.mjs`, `.cjs`, `.json`, `.node`, or `.js`
|
||||
(when the nearest parent `package.json` file contains a top-level field
|
||||
[`"type"`][] with a value of `"module"`, those files will be recognized as
|
||||
CommonJS modules only if they are being `require`d, not when used as the
|
||||
command-line entry point of the program).
|
||||
CommonJS modules only if they are being included via `require()`, not when
|
||||
used as the command-line entry point of the program).
|
||||
|
||||
See [Determining module system][] for more details.
|
||||
|
||||
|
||||
Reference in new issue
Block a user