Skip to content

Commit 07187ed

Browse files
author
Angular Builds
committed
4986577f8 fix(@angular-devkit/build-angular): skip downlevel processing of assets (#15433)
1 parent d832e4b commit 07187ed

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "@angular-devkit/build-webpack",
3-
"version": "0.900.0-next.0+17.0f2cca0",
3+
"version": "0.900.0-next.0+20.4986577",
44
"description": "Webpack Builder for Architect",
55
"experimental": true,
66
"main": "src/index.js",
77
"typings": "src/index.d.ts",
88
"builders": "builders.json",
99
"dependencies": {
10-
"@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#0f2cca0ee",
11-
"@angular-devkit/core": "github:angular/angular-devkit-core-builds#0f2cca0ee",
10+
"@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#4986577f8",
11+
"@angular-devkit/core": "github:angular/angular-devkit-core-builds#4986577f8",
1212
"rxjs": "6.4.0",
1313
"webpack-merge": "4.2.1"
1414
},

src/utils.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export interface EmittedFiles {
1010
name?: string;
1111
file: string;
1212
initial: boolean;
13+
asset?: boolean;
1314
extension: string;
1415
}
1516
export declare function getEmittedFiles(compilation: webpack.compilation.Compilation): EmittedFiles[];

src/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function getEmittedFiles(compilation) {
3131
}
3232
// other all files
3333
for (const file of Object.keys(compilation.assets)) {
34-
files.push({ file, extension: path.extname(file), initial: false });
34+
files.push({ file, extension: path.extname(file), initial: false, asset: true });
3535
}
3636
// dedupe
3737
return files.filter(({ file, name }, index) => files.findIndex(f => f.file === file && (!name || name === f.name)) === index);

uniqueId

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Mon Aug 26 2019 19:23:31 GMT+0000 (Coordinated Universal Time)
1+
Mon Aug 26 2019 19:25:43 GMT+0000 (Coordinated Universal Time)

0 commit comments

Comments
 (0)