Skip to content

Commit

Permalink
App optimization and permission request update
Browse files Browse the repository at this point in the history
  • Loading branch information
l00pinfinity committed Aug 25, 2023
1 parent f448088 commit b405f76
Show file tree
Hide file tree
Showing 7 changed files with 2,068 additions and 41 deletions.
8 changes: 4 additions & 4 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,17 @@
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"sourceMap": true,
"namedChunks": true,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
"maximumWarning": "1mb",
"maximumError": "2mb"
}
]
},
Expand Down
15 changes: 10 additions & 5 deletions capacitor.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@
"webDir": "www",
"bundledWebRuntime": false,
"plugins": {
"@capacitor-community/http": {}
}
}


"@capacitor-community/http": {},
"PushNotifications": {
"presentationOptions": [
"badge",
"sound",
"alert"
]
}
}
}
29 changes: 29 additions & 0 deletions ngsw-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"$schema": "./node_modules/@angular/service-worker/config/schema.json",
"index": "/index.html",
"assetGroups": [
{
"name": "app",
"installMode": "prefetch",
"resources": {
"files": [
"/favicon.ico",
"/index.html",
"/*.css",
"/*.js"
]
}
},
{
"name": "assets",
"installMode": "lazy",
"updateMode": "prefetch",
"resources": {
"files": [
"/assets/**",
"/*.(eot|svg|cur|jpg|png|webp|gif|otf|ttf|woff|woff2|ani)"
]
}
}
]
}
Loading

0 comments on commit b405f76

Please sign in to comment.