🚀 Feature: Recommend main
and exports
#69
Labels
status: accepting prs
Please, send a pull request to resolve this! 🙏
type: feature
New enhancement or request 🚀
Per https://nodejs.org/api/esm.html#esm_main_entry_point_export
Also the order within
exports
(and the order withinexports
subpaths, e.g.,{exports: {"./feature": {browser: "./feature-browser.js", default: "./feature.js"}}
and within nested conditions, e.g.,{"exports": {"import": {"node": "./feature-node.mjs"}}}
) could be enforced per https://nodejs.org/api/esm.html#esm_conditional_exports :The text was updated successfully, but these errors were encountered: