We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1109029 + 5af2f7a commit cb519ceCopy full SHA for cb519ce
file-system-loader.js
@@ -72,6 +72,8 @@ var FileSystemLoader = (function () {
72
if (newPath[0] !== '.' && newPath[0] !== '/') {
73
try {
74
fileRelativePath = nodeResolve.sync(newPath, { basedir: rootRelativeDir });
75
+ // in this case we need to actualize rootRelativePath too
76
+ rootRelativePath = _path2['default'].relative(_this.root, fileRelativePath);
77
} catch (e) {}
78
}
79
0 commit comments