Skip to content

Commit

Permalink
Merge pull request gothinkster#197 from hope-ag/master
Browse files Browse the repository at this point in the history
Upgrade to Angular 11
  • Loading branch information
joeeames authored Apr 14, 2021
2 parents 7410c67 + 994e00b commit 9e8c495
Show file tree
Hide file tree
Showing 12 changed files with 15,413 additions and 7,578 deletions.
12 changes: 12 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries

# You can see what browsers were selected by your queries by running:
# npx browserslist

> 0.5%
last 2 versions
Firefox ESR
not dead
not IE 9-11 # For IE 9-11 support, remove 'not'.
13 changes: 9 additions & 4 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,15 @@
"styles": [
"src/styles.css"
],
"scripts": []
"scripts": [],
"aot": true
},
"configurations": {
"production": {
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
Expand All @@ -41,6 +40,12 @@
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
]
}
}
Expand Down Expand Up @@ -123,7 +128,7 @@
"schematics": {
"@schematics/angular:component": {
"prefix": "app",
"styleext": "css"
"style": "css"
},
"@schematics/angular:directive": {
"prefix": "app"
Expand Down
Loading

0 comments on commit 9e8c495

Please sign in to comment.