File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ Because `module` provides a `filename` property (normally equivalent to
78
78
` __filename ` ), the entry point of the current application can be obtained
79
79
by checking ` require.main.filename ` .
80
80
81
- ## Addenda: Package manager tips
81
+ ## Package manager tips
82
82
83
83
<!-- type=misc -->
84
84
@@ -131,7 +131,7 @@ variable. Since the module lookups using `node_modules` folders are all
131
131
relative, and based on the real path of the files making the calls to
132
132
` require() ` , the packages themselves can be anywhere.
133
133
134
- ## Addenda: The ` .mjs ` extension
134
+ ## The ` .mjs ` extension
135
135
136
136
It is not possible to ` require() ` files that have the ` .mjs ` extension.
137
137
Attempting to do so will throw [ an error] [ ] . The ` .mjs ` extension is
You can’t perform that action at this time.
0 commit comments