fix(frontend): restore vite manifest
This commit is contained in:
parent
3cbf5e5daa
commit
50c09318b6
|
@ -30,13 +30,42 @@ export default defineConfig(({ command }) => {
|
||||||
// devOptions: {
|
// devOptions: {
|
||||||
// enabled: true,
|
// enabled: true,
|
||||||
// },
|
// },
|
||||||
manifest: false,
|
manifest: {
|
||||||
|
name: "Mobilizon",
|
||||||
|
short_name: "Mobilizon",
|
||||||
|
orientation: "portrait-primary",
|
||||||
|
theme_color: "#ffd599",
|
||||||
|
icons: [
|
||||||
|
{
|
||||||
|
src: "./img/icons/android-chrome-192x192.png",
|
||||||
|
sizes: "192x192",
|
||||||
|
type: "image/png",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
src: "./img/icons/android-chrome-512x512.png",
|
||||||
|
sizes: "512x512",
|
||||||
|
type: "image/png",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
src: "./img/icons/android-chrome-maskable-192x192.png",
|
||||||
|
sizes: "192x192",
|
||||||
|
type: "image/png",
|
||||||
|
purpose: "maskable",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
src: "./img/icons/android-chrome-maskable-512x512.png",
|
||||||
|
sizes: "512x512",
|
||||||
|
type: "image/png",
|
||||||
|
purpose: "maskable",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
const build = {
|
const build = {
|
||||||
manifest: false,
|
manifest: true,
|
||||||
outDir: path.resolve(__dirname, "priv/static"),
|
outDir: path.resolve(__dirname, "priv/static"),
|
||||||
emptyOutDir: true,
|
emptyOutDir: true,
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
|
Loading…
Reference in New Issue