-
-
Notifications
You must be signed in to change notification settings - Fork 19
Conversation
Kept it short, sweet, and noncontroversial as possible. Feedback welcome. |
doc/api/esm.md
Outdated
|
||
ECMAScript modules are the official standard format to package Javascript code for reuse. Modules are defined using a variety of [import][] and [export][] statements. | ||
|
||
Node fully supports the format as it is currently specified, as well as provides limited compatibility with the existing module (CommonJS) format. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Node fully supports the format as it is currently specified, as well as provides limited compatibility with the existing module (CommonJS) format. | |
Node.js fully supports ECMAScript modules as they are currently specified and provides limited interoperability between them and the existing module format, CommonJS. |
you should also change the commonjs to a link
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed. The CommonJS link points to the modules
doc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@devsnek Are all of your concerns addressed?
bec588f
to
ea59221
Compare
c6d1b01
to
b4abd3a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with a tiny nit
@@ -5,6 +5,12 @@ | |||
|
|||
> Stability: 1 - Experimental | |||
|
|||
## Introduction | |||
|
|||
ECMAScript modules are the official standard format to package JavaScript code for reuse. Modules are defined using a variety of [`import`][] and [`export`][] statements. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ECMAScript modules are the official standard format to package JavaScript code for reuse. Modules are defined using a variety of [`import`][] and [`export`][] statements. | |
ECMAScript modules are the standard format to package JavaScript code for reuse. Modules are defined using a variety of [`import`][] and [`export`][] statements. |
@devsnek do you still have any objections? |
landed in 0a47098 |
This PR includes the
Introduction
section for ESM including links to the MDN documentation forimport
andexport
.Readable Version: