29 lines
653 B
TypeScript
29 lines
653 B
TypeScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
import { VitePWA } from 'vite-plugin-pwa'
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
react(),
|
|
VitePWA({
|
|
registerType: 'autoUpdate',
|
|
manifest: {
|
|
name: 'Actual Importer',
|
|
short_name: 'ActualImporter',
|
|
description: 'Simple app to import the transactions to Actual Budget system',
|
|
theme_color: '#ffffff',
|
|
icons: [
|
|
{
|
|
src: '/public/vite.svg',
|
|
sizes: '512x512',
|
|
type: 'image/svg',
|
|
}
|
|
]
|
|
},
|
|
devOptions: {
|
|
enabled: true
|
|
}
|
|
})
|
|
]
|
|
})
|