This adds basic support for situations where there is a package.json with a "main" field. That "main" module is used as the code that is loaded when the package folder is required.
3 lines
73 B
JSON
3 lines
73 B
JSON
{"name":"package-name"
|
|
,"version":"1.2.3"
|
|
,"main":"package-main-module"}
|