treat "files" in a package.json as main modules, if "main" is not present

This commit is contained in:
Erik Krogh Kristensen
2021-04-08 14:42:12 +02:00
parent a9527fd913
commit 30ba69d991
8 changed files with 122 additions and 3 deletions

View File

@@ -0,0 +1,9 @@
{
"name": "my-sub-lib2",
"version": "0.0.7",
"files": [
"special-file.js",
"compiled-file.js",
"compiled-file"
]
}