diff --git a/js/common/bootstrap/modules.js b/js/common/bootstrap/modules.js index d18b38f67c..30a45d19a7 100644 --- a/js/common/bootstrap/modules.js +++ b/js/common/bootstrap/modules.js @@ -1212,7 +1212,7 @@ function require (path) { libpath = fs.join(this._root, this._path, this._manifest[type]); } else { - libpath = fs.join(this._root, this._path); + libpath = fs.join(this._root, this._path, type); } var pkg = new Package("application",