require that the factory function is in a main module file

This commit is contained in:
Erik Krogh Kristensen
2021-05-05 12:00:38 +02:00
parent fc3f5adbbb
commit e333267e69
2 changed files with 11 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
{
"name": "my-sub-lib",
"version": "0.0.7",
"main": "./my-file.js"
"main": "./factory.js"
}