Skip to content

Commit 0551bcd

Browse files
committed
fix(@angular-devkit/build-angular): skip downlevel processing of assets
Fixes #15423
1 parent 07f8745 commit 0551bcd

File tree

1 file changed

+5
-0
lines changed
  • packages/angular_devkit/build_angular/src/browser

1 file changed

+5
-0
lines changed

packages/angular_devkit/build_angular/src/browser/index.ts

+5
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,11 @@ export function buildWebpackBrowser(
289289
const actions: ProcessBundleOptions[] = [];
290290
const seen = new Set<string>();
291291
for (const file of emittedFiles) {
292+
// Assets are not processed nor injected into the index
293+
if (file.asset) {
294+
continue;
295+
}
296+
292297
// Scripts and non-javascript files are not processed
293298
if (
294299
file.extension !== '.js' ||

0 commit comments

Comments
 (0)