Commit f1fc426c authored by Guy Bedford's avatar Guy Bedford Committed by guybedford
Browse files

module: support main w/o extension, pjson cache

This adds support for ensuring that the top-level main into Node is
supported loading when it has no extension for backwards-compat with
NodeJS bin workflows.

In addition package.json caching is implemented in the module lookup
process.

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


Reviewed-By: default avatarBenjamin Gruenbaum <benjamingr@gmail.com>
parent 0e7b6122
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