Skip to content

Commit 338ce6a

Browse files
committed
Configuration updates to lower bundle size, deal with warnings, photo added
1 parent 018a46f commit 338ce6a

5 files changed

Lines changed: 13 additions & 8 deletions

File tree

.browserslistrc

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,4 @@
55
# You can see what browsers were selected by your queries by running:
66
# npx browserslist
77

8-
> 0.5%
9-
last 2 versions
10-
Firefox ESR
11-
not dead
12-
not IE 9-11 # For IE 9-11 support, remove 'not'.
8+
defaults

angular.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
],
2929
"styles": ["src/styles.css"],
3030
"scripts": [],
31-
"browser": "src/main.ts"
31+
"browser": "src/main.ts",
32+
"allowedCommonJsDependencies": ["macy"]
3233
},
3334
"configurations": {
3435
"production": {
@@ -49,8 +50,8 @@
4950
{
5051
"type": "bundle",
5152
"name": "vendor",
52-
"baseline": "500kb",
53-
"warning": "100kb"
53+
"baseline": "800kb",
54+
"warning": "500kb"
5455
}
5556
]
5657
}

src/app/components/photo-grid/photo-grid.component.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@
7777
photoSrc="assets/images/photography/4705.JPG"
7878
photoAlt="Avila, Spain"
7979
></app-photo>
80+
<app-photo
81+
[routerLink]="['/lightbox', 70710022]"
82+
photoSrc="assets/images/photography/70710022.JPG"
83+
photoAlt="4 Chome-2-8 Shibakoen, Minato City, Tokyo 105-0011, Japan"
84+
></app-photo>
8085
<app-photo
8186
[routerLink]="['/lightbox', 4516]"
8287
photoSrc="assets/images/photography/4516.JPG"
656 KB
Loading

tsconfig.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,8 @@
1818
"dom"
1919
],
2020
"useDefineForClassFields": false
21+
},
22+
"angularCompilerOptions": {
23+
"strictTemplates": true
2124
}
2225
}

0 commit comments

Comments
 (0)