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 53ec7d4 commit 0b86640Copy full SHA for 0b86640
packages/@ngtools/webpack/src/loader.ts
@@ -443,9 +443,7 @@ export function _getModuleExports(plugin: AotPlugin,
443
return exports
444
.filter(node => {
445
446
- const identifiers = refactor.findAstNodes(node, ts.SyntaxKind.Identifier, false);
447
-
448
- identifiers
+ const identifiers = refactor.findAstNodes(node, ts.SyntaxKind.Identifier, false)
449
.filter(node => node.getText() === plugin.entryModule.className);
450
451
return identifiers.length > 0;
0 commit comments