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 c188887 commit 6eb72e7Copy full SHA for 6eb72e7
packages/angular_devkit/build_webpack/src/utils.ts
@@ -25,7 +25,9 @@ export function getEmittedFiles(compilation: webpack.compilation.Compilation): E
25
for (const chunk of compilation.chunks as webpack.compilation.Chunk[]) {
26
for (const file of chunk.files as string[]) {
27
files.push({
28
- id: chunk.id.toString(),
+ // The id is guaranteed to exist at this point in the compilation process
29
+ // tslint:disable-next-line: no-non-null-assertion
30
+ id: chunk.id!.toString(),
31
name: chunk.name,
32
file,
33
extension: path.extname(file),
0 commit comments