Skip to content

Commit 07f8745

Browse files
committed
fix(@angular-devkit/build-angular): identify asset emitted files
1 parent 252f1be commit 07f8745

File tree

1 file changed

+2
-1
lines changed
  • packages/angular_devkit/build_webpack/src

1 file changed

+2
-1
lines changed

packages/angular_devkit/build_webpack/src/utils.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export interface EmittedFiles {
1313
name?: string;
1414
file: string;
1515
initial: boolean;
16+
asset?: boolean;
1617
extension: string;
1718
}
1819

@@ -42,7 +43,7 @@ export function getEmittedFiles(compilation: webpack.compilation.Compilation): E
4243

4344
// other all files
4445
for (const file of Object.keys(compilation.assets)) {
45-
files.push({ file, extension: path.extname(file), initial: false });
46+
files.push({ file, extension: path.extname(file), initial: false, asset: true });
4647
}
4748

4849
// dedupe

0 commit comments

Comments
 (0)