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 b572862 commit 897aa33Copy full SHA for 897aa33
packages/@ngtools/webpack/src/compiler_host.ts
@@ -119,12 +119,14 @@ export class WebpackCompilerHost implements ts.CompilerHost {
119
if (path[0] == '.') {
120
path = join(this.getCurrentDirectory(), path);
121
} else if (path[0] == '/' || path.match(/^\w:\//)) {
122
- //return path;
+ // return path;
123
} else {
124
path = join(this._basePath, path);
125
}
126
- if( fs.existsSync(path) ) // FIX symlink duplication in npm linked modules (#3875)
+ // FIX symlink duplication in npm linked modules (#3875)
127
+ if (fs.existsSync(path)) {
128
path = fs.realpathSync(path);
129
+ }
130
return path;
131
132
0 commit comments