Skip to content

Commit

Permalink
fix: fixed manifest images not being available
Browse files Browse the repository at this point in the history
  • Loading branch information
The24thDS committed Nov 26, 2022
1 parent 026c93d commit 092f51b
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 8 deletions.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
12 changes: 4 additions & 8 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ export default defineConfig({
react(),
VitePWA({
registerType: "autoUpdate",
includeAssets: [
"src/assets/images/rmg_logo.png",
"src/assets/images/rmg_logo_180.png",
],
manifest: {
name: "RMG Utilities for Stellaris",
short_name: "RMG Utils",
Expand All @@ -20,23 +16,23 @@ export default defineConfig({
theme_color: "#25262b",
icons: [
{
src: "src/assets/images/rmg_logo_192.png",
src: "/assets/images/rmg_logo_192.png",
sizes: "192x192",
type: "image/png",
},
{
src: "src/assets/images/rmg_logo_512.png",
src: "/assets/images/rmg_logo_512.png",
sizes: "512x512",
type: "image/png",
},
{
src: "src/assets/images/maskable_icon_x192.png",
src: "/assets/images/maskable_icon_x192.png",
sizes: "192x192",
type: "image/png",
purpose: "maskable",
},
{
src: "src/assets/images/maskable_icon_x512.png",
src: "/assets/images/maskable_icon_x512.png",
sizes: "512x512",
type: "image/png",
purpose: "maskable",
Expand Down

0 comments on commit 092f51b

Please sign in to comment.