In order for the EPS for ES modules to progress we need a definitive vote to choose between:
- Using a new file extension for ES modules such as
.jsm
- Using a few new
package.json fields
main -> module for ES module entry point
modules to list all the .js files in the package that should be treated as ES and not CJS.
The full discussion is in nodejs/node-eps#3
A sidecar discussion specific to module detection is in nodejs/node-eps#13 (comment)
In order for the EPS for ES modules to progress we need a definitive vote to choose between:
.jsmpackage.jsonfieldsmain->modulefor ES module entry pointmodulesto list all the.jsfiles in the package that should be treated as ES and not CJS.The full discussion is in nodejs/node-eps#3
A sidecar discussion specific to module detection is in nodejs/node-eps#13 (comment)