Skip to content

Commit 12a1826

Browse files
authored
Merge pull request #624 from europeana/develop
Merge Develop Into Master
2 parents 888b66a + b3714c7 commit 12a1826

File tree

112 files changed

+12503
-5957
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+12503
-5957
lines changed

.browserslistrc

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2+
# For additional information regarding the format and rule options, please see:
3+
# https://github.com/browserslist/browserslist#queries
4+
5+
# For the full list of supported browsers by the Angular framework, please see:
6+
# https://angular.io/guide/browser-support
7+
8+
# You can see what browsers were selected by your queries by running:
9+
# npx browserslist
10+
11+
last 1 Chrome version
12+
last 1 Firefox version
13+
last 2 Edge major versions
14+
last 2 Safari major versions
15+
last 2 iOS major versions
16+
Firefox ESR
17+
not IE 9-10 # Angular support for IE 9-10 has been deprecated and will be removed as of Angular v11. To opt-in, remove the 'not' prefix on this line.
18+
not IE 11 # Angular supports IE 11 only as an opt-in. To opt-in, remove the 'not' prefix on this line.

angular.json

Lines changed: 25 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
"build": {
1818
"builder": "@angular-devkit/build-angular:browser",
1919
"options": {
20-
"aot": true,
2120
"outputPath": "projects/metis/dist/metis",
2221
"index": "projects/metis/src/index.html",
2322
"main": "projects/metis/src/main.ts",
@@ -30,29 +29,38 @@
3029
},
3130
"assets": ["projects/metis/src/assets", "projects/metis/src/favicon.ico"],
3231
"styles": ["projects/metis/src/styles.scss"],
33-
"scripts": []
32+
"scripts": [],
33+
"vendorChunk": true,
34+
"extractLicenses": false,
35+
"buildOptimizer": false,
36+
"sourceMap": true,
37+
"optimization": false,
38+
"namedChunks": true
3439
},
3540
"configurations": {
3641
"production": {
37-
"aot": true,
3842
"budgets": [
3943
{
4044
"type": "anyComponentStyle",
41-
"maximumWarning": "6kb"
45+
"maximumWarning": "100kb"
4246
}
4347
],
4448
"buildOptimizer": true,
4549
"extractLicenses": true,
4650
"namedChunks": false,
47-
"optimization": true,
51+
"optimization": {
52+
"scripts": true,
53+
"fonts": { "inline": true },
54+
"styles": { "minify": true, "inlineCritical": false }
55+
},
4856
"outputHashing": "all",
4957
"sourceMap": false
5058
},
5159
"e2e": {
5260
"budgets": [
5361
{
5462
"type": "anyComponentStyle",
55-
"maximumWarning": "6kb"
63+
"maximumWarning": "100kb"
5664
}
5765
],
5866
"fileReplacements": [
@@ -62,7 +70,8 @@
6270
}
6371
]
6472
}
65-
}
73+
},
74+
"defaultConfiguration": ""
6675
},
6776
"serve": {
6877
"builder": "@angular-devkit/build-angular:dev-server",
@@ -115,7 +124,6 @@
115124
"build": {
116125
"builder": "@angular-devkit/build-angular:browser",
117126
"options": {
118-
"aot": true,
119127
"outputPath": "projects/sandbox/dist/sandbox",
120128
"index": "projects/sandbox/src/index.html",
121129
"main": "projects/sandbox/src/main.ts",
@@ -127,11 +135,16 @@
127135
"stylePreprocessorOptions": {
128136
"includePaths": ["shared-styles"]
129137
},
130-
"scripts": []
138+
"scripts": [],
139+
"vendorChunk": true,
140+
"extractLicenses": false,
141+
"buildOptimizer": false,
142+
"sourceMap": true,
143+
"optimization": false,
144+
"namedChunks": true
131145
},
132146
"configurations": {
133147
"production": {
134-
"aot": true,
135148
"fileReplacements": [
136149
{
137150
"replace": "projects/sandbox/src/environments/environment.ts",
@@ -171,7 +184,8 @@
171184
}
172185
]
173186
}
174-
}
187+
},
188+
"defaultConfiguration": ""
175189
},
176190
"serve": {
177191
"builder": "@angular-devkit/build-angular:dev-server",

0 commit comments

Comments
 (0)