allow mod to be sym-linked to a js package
This commit is contained in:
parent
05d7ee88fd
commit
6b26c4506d
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue