Skip to content

Commit

Permalink
Update manifest configuration according to plugin minimal requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
caebr committed Nov 13, 2023
1 parent 6e233f1 commit e3d339b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
1 change: 0 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
name="description"
content="Schulverwaltungsapplikation des Kantons Bern"
/>
<link rel="manifest" href="/manifest.json" />
<link rel="stylesheet" href="./src/index.css" />
<script src="/settings.js"></script>
<script src="/apps/webapp-schulverwaltung/settings.js"></script>
Expand Down
17 changes: 12 additions & 5 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ const commonPlugins = [
devOptions: {
enabled: true,
},
includeAssets: [
"favicon.ico",
"icon.svg",
"icons/apple-touch-icon-180x180.png",
],
manifest: {
name: "Evento",
short_name: "EVT",
description: "Schulverwaltungsapplikation des Kantons Bern",
theme_color: "#EA161F",
icons: [
{
src: "icons/icon-maskable.svg",
sizes: "any",
purpose: "maskable",
},
{
src: "icons/pwa-64x64.png",
sizes: "64x64",
Expand All @@ -34,6 +34,13 @@ const commonPlugins = [
src: "icons/pwa-512x512.png",
sizes: "512x512",
type: "image/png",
purpose: "any",
},
{
src: "icons/maskable-icon-512x512.png",
sizes: "512x512",
type: "image/png",
purpose: "maskable",
},
],
},
Expand Down

0 comments on commit e3d339b

Please sign in to comment.