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 3504c43 commit 2327ddcCopy full SHA for 2327ddc
packages/ngtools/webpack/src/resource_loader.ts
@@ -135,7 +135,8 @@ export class WebpackResourceLoader {
135
let finalMap: string | undefined;
136
if (isWebpackFiveOrHigher()) {
137
childCompiler.hooks.compilation.tap('angular-compiler', (childCompilation) => {
138
- childCompilation.hooks.processAssets.tap('angular-compiler', () => {
+ // tslint:disable-next-line: no-any
139
+ (childCompilation.hooks as any).processAssets.tap('angular-compiler', () => {
140
finalContent = childCompilation.assets[filePath]?.source().toString();
141
finalMap = childCompilation.assets[filePath + '.map']?.source().toString();
142
0 commit comments