mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
build: try to fix lighthouse 2
This commit is contained in:
parent
af93197dff
commit
562251e2d5
4 changed files with 37 additions and 4 deletions
32
angular.json
32
angular.json
|
|
@ -120,6 +120,38 @@
|
|||
"extractLicenses": true,
|
||||
"serviceWorker": "ngsw-config.json"
|
||||
},
|
||||
"productionWebNoSw": {
|
||||
"outputPath": {
|
||||
"base": "dist",
|
||||
"browser": "browser"
|
||||
},
|
||||
"budgets": [
|
||||
{
|
||||
"type": "anyComponentStyle",
|
||||
"maximumWarning": "20kb"
|
||||
}
|
||||
],
|
||||
"fileReplacements": [
|
||||
{
|
||||
"replace": "src/environments/environment.ts",
|
||||
"with": "src/environments/environment.prod.ts"
|
||||
}
|
||||
],
|
||||
"optimization": {
|
||||
"scripts": true,
|
||||
"styles": {
|
||||
"minify": true,
|
||||
"inlineCritical": true
|
||||
},
|
||||
"fonts": true
|
||||
},
|
||||
"outputHashing": "all",
|
||||
"sourceMap": true,
|
||||
"namedChunks": false,
|
||||
"aot": true,
|
||||
"extractLicenses": true,
|
||||
"serviceWorker": false
|
||||
},
|
||||
"stage": {
|
||||
"baseHref": "",
|
||||
"budgets": [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue