allow mod to be sym-linked to a js package

This commit is contained in:
Stewart Allen 2020-03-01 12:50:10 -05:00
commit 6b26c4506d

View file

@ -1062,6 +1062,9 @@ function addStatic(dir, pre) {
// either add module assets to path or require(init.js)
function loadModule(dir) {
if (dir.indexOf('node_modules') >= 0) {
return;
}
if (lastmod(dir + "/.ignore")) {
return;
}