Personal-first lists/tasks/reminders/recurrence, plus an admin-editable status pipeline, shared categories, project containers, and a three-tier permission model for cross-user work: assign (hand off your own tasks), reallocate (dispatcher — move anyone's tasks), admin (reserved, full manage-all).
32 lines
865 B
TypeScript
32 lines
865 B
TypeScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
import { VitePWA } from 'vite-plugin-pwa'
|
|
|
|
export default defineConfig({
|
|
base: '/tasks/',
|
|
plugins: [
|
|
react(),
|
|
VitePWA({
|
|
strategies: 'injectManifest',
|
|
srcDir: 'src',
|
|
filename: 'sw.js',
|
|
registerType: 'autoUpdate',
|
|
manifest: {
|
|
name: 'Tasks',
|
|
short_name: 'Tasks',
|
|
start_url: '/tasks/',
|
|
scope: '/tasks/',
|
|
display: 'standalone',
|
|
theme_color: '#0d9488',
|
|
background_color: '#0d9488',
|
|
icons: [
|
|
{ src: '/tasks/icons/icon-192.png', sizes: '192x192', type: 'image/png' },
|
|
{ src: '/tasks/icons/icon-512.png', sizes: '512x512', type: 'image/png' },
|
|
],
|
|
},
|
|
injectManifest: {
|
|
globPatterns: ['**/*.{js,css,html,ico,png,svg}'],
|
|
},
|
|
}),
|
|
],
|
|
})
|