Skip to content

Commit dbd71b7

Browse files
FrozenPandazhansl
authored andcommitted
fix(@ngtools/webpack): continue past invalid imports (#5028)
1 parent 864d520 commit dbd71b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@ngtools/webpack/src/entry_resolver.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ function _symbolImportLookup(refactor: TypeScriptFileRefactor,
9797
(decl.moduleSpecifier as ts.StringLiteral).text,
9898
refactor.fileName, program.getCompilerOptions(), host);
9999
if (!resolvedModule.resolvedModule || !resolvedModule.resolvedModule.resolvedFileName) {
100-
return null;
100+
continue;
101101
}
102102

103103
const module = resolvedModule.resolvedModule.resolvedFileName;

0 commit comments

Comments
 (0)