Skip to content

Commit 9c141d5

Browse files
committed
Added optimization configuration in angular.json file
1 parent 989feb1 commit 9c141d5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

angular/image-data/angular.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@
1010
"root": "./src",
1111
"sourceRoot": "./src",
1212
"prefix": "lib",
13+
"optimization": {
14+
"scripts": true,
15+
"styles": {
16+
"minify": true,
17+
"inlineCritical": true
18+
},
19+
"fonts": true
20+
},
1321
"architect": {
1422
"build": {
1523
"builder": "@angular-devkit/build-angular:ng-packagr",

0 commit comments

Comments
 (0)