-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvite.config.ts
More file actions
40 lines (39 loc) · 956 Bytes
/
Copy pathvite.config.ts
File metadata and controls
40 lines (39 loc) · 956 Bytes
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
import { defineConfig } from 'vite'
import { svelte } from '@sveltejs/vite-plugin-svelte'
import { VitePWA } from 'vite-plugin-pwa'
// https://vite.dev/config/
export default defineConfig({
server: {
host: '0.0.0.0',
port: 5173,
strictPort: true,
},
plugins: [
svelte(),
VitePWA({
registerType: 'autoUpdate',
includeAssets: ['vite.svg'],
manifest: {
name: 'Lightroom Remote Controller',
short_name: 'LR Remote',
description: 'WebSocket remote control for Adobe Lightroom adjustments',
start_url: '/',
scope: '/',
display: 'standalone',
background_color: '#111827',
theme_color: '#111827',
icons: [
{
src: '/vite.svg',
sizes: 'any',
type: 'image/svg+xml',
purpose: 'any maskable',
},
],
},
devOptions: {
enabled: true,
},
}),
],
})