-
Notifications
You must be signed in to change notification settings - Fork 488
Closed
Description
This will make using documentation much easier if you have .mjs files in your project:
- The
documentation lintcommand does not find.mjsfiles, and can not yet be taught to (Unable to specify file extension for linting #1021). - Running commands like
documentation readmerequires the use of unintuitive--re mjs --pe mjsarguments (Can't get --extension to work. #891 (comment)).
The .mjs file extension is the official way to run ESM natively in Node.js. All of my packages these days have .mjs files. It is becoming increasingly common in the wild and will eventually be the go-to extension for ES. .mjs is already supported by default by tools such as Webpack.
Metadata
Metadata
Assignees
Labels
No labels