Skip to content

Commit

Permalink
fix: manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
ledouxm committed Oct 10, 2024
1 parent a559993 commit 3ff692d
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion packages/frontend/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,20 @@ export default defineConfig({
scope: "/",
start_url: "/",
lang: "fr",
icons: [
{
src: "dsfr/favicon/android-chrome-192x192.png",
sizes: "192x192",
type: "image/png",
},
{
src: "dsfr/favicon/android-chrome-512x512.png",
sizes: "512x512",
type: "image/png",
},
],
},
manifestFilename: "manifest.json",
manifestFilename: "manifest.webmanifest",
injectManifest: {
maximumFileSizeToCacheInBytes: 2097152 * 3,
globPatterns: ["**/*.{svg,woff2,js,wasm,css,html,png}"],
Expand Down

0 comments on commit 3ff692d

Please sign in to comment.