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 594343c commit 57abf60Copy full SHA for 57abf60
packages/ngtools/webpack/src/angular_compiler_plugin.ts
@@ -637,7 +637,10 @@ export class AngularCompilerPlugin {
637
continue;
638
}
639
640
- compilation.warnings.push(`${fileName} is part of the TypeScript compilation but it's unused.`);
+ compilation.warnings.push(
641
+ `${fileName} is part of the TypeScript compilation but it's unused.\n` +
642
+ `Add only entry points to the 'files' or 'include' properties in your tsconfig.`,
643
+ );
644
this._unusedFiles.add(fileName);
645
646
0 commit comments