fix(core): use the correct generated URL for JIT compiled components (#28055)
Previously the generated code was being mapped to the `templateUrl` value. PR Close #28055
This commit is contained in:
parent
a5ea55a636
commit
4f46bfb779
|
@ -143,7 +143,7 @@ export class CompilerFacadeImpl implements CompilerFacade {
|
|||
constantPool, makeBindingParser(interpolationConfig));
|
||||
const preStatements = [...constantPool.statements, ...res.statements];
|
||||
return this.jitExpression(
|
||||
res.expression, angularCoreEnv, sourceMapUrl, preStatements);
|
||||
res.expression, angularCoreEnv, `ng:///${facade.name}.js`, preStatements);
|
||||
}
|
||||
|
||||
createParseSourceSpan(kind: string, typeName: string, sourceUrl: string): ParseSourceSpan {
|
||||
|
|
Loading…
Reference in New Issue