Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
doc: change "CommonJS modules" to "CommonJS"
Co-Authored-By: Geoffrey Booth <GeoffreyBooth@users.noreply.github.com>
  • Loading branch information
tamias and GeoffreyBooth authored Jan 2, 2020
commit 011fe0618e77f37870732c54d57674df40aaa1d7
2 changes: 1 addition & 1 deletion doc/api/esm.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ it will also make things easier for build tools and loaders to determine how the
files in the package should be interpreted.

Regardless of the value of the `"type"` field, `.mjs` files are always treated
as ES modules and `.cjs` files are always treated as CommonJS modules.
as ES modules and `.cjs` files are always treated as CommonJS.

### Package Scope and File Extensions

Expand Down