aboutsummaryrefslogtreecommitdiffstats
path: root/app/vite.config.ts
blob: 61caf0ef1cf02b021813d57bce48b5124e381c5f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { purgeCss } from 'vite-plugin-tailwind-purgecss';
import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
import { SvelteKitPWA } from '@vite-pwa/sveltekit';

export default defineConfig({
  plugins: [
    sveltekit(),
    purgeCss(),
    SvelteKitPWA({
      registerType: 'autoUpdate'
    })
  ]
});