diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2022-07-03 21:59:57 +0200 |
---|---|---|
committer | Bastien Wirtz <bastien.wirtz@gmail.com> | 2022-07-03 21:59:57 +0200 |
commit | 59994bfee8ae2151238e0ba98b84dd04ae3a43a4 (patch) | |
tree | 7fdcc986bd006ff212120c58ded4635045d79452 /vite.config.js | |
parent | b4207f27821617d83e4cf018c169ca3bac30fda1 (diff) | |
download | homer-59994bfee8ae2151238e0ba98b84dd04ae3a43a4.tar.gz homer-59994bfee8ae2151238e0ba98b84dd04ae3a43a4.tar.zst homer-59994bfee8ae2151238e0ba98b84dd04ae3a43a4.zip |
Fix lint issues
Diffstat (limited to 'vite.config.js')
-rw-r--r-- | vite.config.js | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/vite.config.js b/vite.config.js index 0400b78..262f311 100644 --- a/vite.config.js +++ b/vite.config.js | |||
@@ -1,4 +1,4 @@ | |||
1 | import { VitePWA } from 'vite-plugin-pwa' | 1 | import { VitePWA } from "vite-plugin-pwa"; |
2 | import { fileURLToPath, URL } from "url"; | 2 | import { fileURLToPath, URL } from "url"; |
3 | 3 | ||
4 | import { defineConfig } from "vite"; | 4 | import { defineConfig } from "vite"; |
@@ -10,30 +10,30 @@ export default defineConfig({ | |||
10 | assetsDir: "resources", | 10 | assetsDir: "resources", |
11 | }, | 11 | }, |
12 | plugins: [ | 12 | plugins: [ |
13 | vue(), | 13 | vue(), |
14 | VitePWA({ | 14 | VitePWA({ |
15 | registerType: 'autoUpdate', | 15 | registerType: "autoUpdate", |
16 | useCredentials: true, | 16 | useCredentials: true, |
17 | manifestFilename: "assets/manifest.json", | 17 | manifestFilename: "assets/manifest.json", |
18 | manifest: { | 18 | manifest: { |
19 | name: 'Homer dashboard', | 19 | name: "Homer dashboard", |
20 | short_name: 'Homer', | 20 | short_name: "Homer", |
21 | description: 'Home Server Dashboard', | 21 | description: "Home Server Dashboard", |
22 | theme_color: '#3367D6', | 22 | theme_color: "#3367D6", |
23 | icons: [ | 23 | icons: [ |
24 | { | 24 | { |
25 | src: 'pwa-192x192.png', | 25 | src: "pwa-192x192.png", |
26 | sizes: '192x192', | 26 | sizes: "192x192", |
27 | type: 'image/png' | 27 | type: "image/png", |
28 | }, | 28 | }, |
29 | { | 29 | { |
30 | src: 'pwa-512x512.png', | 30 | src: "pwa-512x512.png", |
31 | sizes: '512x512', | 31 | sizes: "512x512", |
32 | type: 'image/png' | 32 | type: "image/png", |
33 | } | 33 | }, |
34 | ], | 34 | ], |
35 | }, | 35 | }, |
36 | }) | 36 | }), |
37 | ], | 37 | ], |
38 | resolve: { | 38 | resolve: { |
39 | alias: { | 39 | alias: { |
@@ -41,4 +41,3 @@ export default defineConfig({ | |||
41 | }, | 41 | }, |
42 | }, | 42 | }, |
43 | }); | 43 | }); |
44 | |||