-
Notifications
You must be signed in to change notification settings - Fork 0
/
vite.config.js.timestamp-1664391787284.mjs
47 lines (45 loc) · 2.46 KB
/
vite.config.js.timestamp-1664391787284.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// vite.config.js
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
// public/manifest.json
var manifest_default = {
name: "Electio-SN",
short_name: "electio-sn",
description: "Application de gestion d'\xE9lections pr\xE9sidentielles et de vote en ligne",
theme_color: "#ffffff",
icons: [
{
src: "./assets/pwa/pwa-192x192.png",
sizes: "192x192",
type: "image/png"
},
{
src: "./assets/pwa/pwa-512x512.png",
sizes: "512x512",
type: "image/png"
},
{
src: "./assets/pwa/pwa-512x512.png",
sizes: "512x512",
type: "image/png",
purpose: "any maskable"
}
]
};
// vite.config.js
import { VitePWA } from "vite-plugin-pwa";
var vite_config_default = defineConfig({
plugins: [
react(),
VitePWA({
manifest: manifest_default,
devOptions: {
enabled: true
}
})
]
});
export {
vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJDOlxcXFxVc2Vyc1xcXFxBQkZcXFxcRGVza3RvcFxcXFxQcm9qZXQgU2VydmljZXMgV2ViXFxcXGVsZWN0aW8tc25cIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfZmlsZW5hbWUgPSBcIkM6XFxcXFVzZXJzXFxcXEFCRlxcXFxEZXNrdG9wXFxcXFByb2pldCBTZXJ2aWNlcyBXZWJcXFxcZWxlY3Rpby1zblxcXFx2aXRlLmNvbmZpZy5qc1wiO2NvbnN0IF9fdml0ZV9pbmplY3Rl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