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 af415a2 commit 64cf05bCopy full SHA for 64cf05b
packages/ngtools/webpack/src/angular_compiler_plugin.ts
@@ -597,8 +597,11 @@ export class AngularCompilerPlugin {
597
replacements = new Map();
598
const aliasHost = new virtualFs.AliasHost(host);
599
for (const from in this._options.hostReplacementPaths) {
600
- const normalizedFrom = normalize(from);
601
- const normalizedWith = normalize(this._options.hostReplacementPaths[from]);
+ const normalizedFrom = resolve(normalize(this._basePath), normalize(from));
+ const normalizedWith = resolve(
602
+ normalize(this._basePath),
603
+ normalize(this._options.hostReplacementPaths[from]),
604
+ );
605
aliasHost.aliases.set(normalizedFrom, normalizedWith);
606
replacements.set(normalizedFrom, normalizedWith);
607
}
0 commit comments