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.
1 parent 4aa17b2 commit 43429eaCopy full SHA for 43429ea
packages/@ngtools/webpack/src/compiler_host.ts
@@ -117,11 +117,11 @@ export class WebpackCompilerHost implements ts.CompilerHost {
117
private _resolve(path: string) {
118
path = this._normalizePath(path);
119
if (path[0] == '.') {
120
- return join(this.getCurrentDirectory(), path);
+ return this._normalizePath(join(this.getCurrentDirectory(), path));
121
} else if (path[0] == '/' || path.match(/^\w:\//)) {
122
return path;
123
} else {
124
- return join(this._basePath, path);
+ return this._normalizePath(join(this._basePath, path));
125
}
126
127
0 commit comments