Commit 80cc6f52 authored by Geoffrey Booth's avatar Geoffrey Booth Committed by Rich Trott
Browse files

doc: explain esm options for package authors

* organize sections more hierarchically

* recommend always including "type" field, per 2019-06-19 meeting

Refs: https://github.com/nodejs/modules/issues/342#issuecomment-503733187

* expand discussion of publishing cjs/esm packages

PR-URL: https://github.com/nodejs/node/pull/29497


Reviewed-By: default avatarRich Trott <rtrott@gmail.com>
Reviewed-By: default avatarDavid Carlier <devnexen@gmail.com>
Reviewed-By: default avatarJan Krems <jan.krems@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent 3adec437
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment