-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvite.config.ts
More file actions
28 lines (27 loc) · 831 Bytes
/
Copy pathvite.config.ts
File metadata and controls
28 lines (27 loc) · 831 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
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import tailwindcss from '@tailwindcss/vite'
import { VitePWA } from 'vite-plugin-pwa'
export default defineConfig({
base: process.env.CI ? '/CodeRunner/' : '/',
plugins: [
react(),
tailwindcss(),
VitePWA({
registerType: 'autoUpdate',
includeAssets: ['icon.svg'],
manifest: {
name: 'CodeRunner — ACLS / PALS Companion',
short_name: 'CodeRunner',
description: 'ACLS / PALS protocol companion for trained providers',
theme_color: '#16140F',
background_color: '#F5F4F0',
display: 'standalone',
orientation: 'portrait',
icons: [
{ src: 'icon.svg', sizes: 'any', type: 'image/svg+xml', purpose: 'any maskable' },
],
},
}),
],
})