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