added pwa plugin
This commit is contained in:
parent
14d8956be9
commit
532dd754ed
@ -1,2 +1,3 @@
|
|||||||
export const ssr = false;
|
export const ssr = false;
|
||||||
|
export const csr = true;
|
||||||
export const prerender = true;
|
export const prerender = true;
|
@ -1,7 +1,8 @@
|
|||||||
import { purgeCss } from 'vite-plugin-tailwind-purgecss';
|
import { purgeCss } from 'vite-plugin-tailwind-purgecss';
|
||||||
import { sveltekit } from '@sveltejs/kit/vite';
|
import { sveltekit } from '@sveltejs/kit/vite';
|
||||||
import { defineConfig } from 'vite';
|
import { defineConfig } from 'vite';
|
||||||
|
import { SvelteKitPWA } from '@vite-pwa/sveltekit';
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [sveltekit(), purgeCss()]
|
plugins: [sveltekit(), purgeCss(), SvelteKitPWA()]
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user