Commit 39dbc10
doc: improve explanation of package.json "type" field
Regardless of the value of the `"type"` field, `.mjs` files are
always treated as ES modules and `.cjs` files are always treated
as CommonJS.
PR-URL: #27516
Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>1 parent 7858d65 commit 39dbc10Copy full SHA for 39dbc10
File tree
Expand file treeCollapse file tree
1 file changed
+6
-3
lines changedOpen diff view settings
Filter options
- doc/api
Expand file treeCollapse file tree
1 file changed
+6
-3
lines changedOpen diff view settings
Collapse file
+6-3Lines changed: 6 additions & 3 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
62 | 62 | |
63 | 63 | |
64 | 64 | |
65 | | - |
66 | | - |
67 | | - |
| 65 | + |
| 66 | + |
| 67 | + |
68 | 68 | |
69 | 69 | |
70 | 70 | |
| ||
104 | 104 | |
105 | 105 | |
106 | 106 | |
| 107 | + |
| 108 | + |
| 109 | + |
107 | 110 | |
108 | 111 | |
109 | 112 | |
|
0 commit comments