2024-01-13 22:30:21 +00:00
|
|
|
import { purgeCss } from 'vite-plugin-tailwind-purgecss';
|
2024-01-03 19:35:06 +00:00
|
|
|
import { sveltekit } from '@sveltejs/kit/vite';
|
|
|
|
import { defineConfig } from 'vite';
|
2024-01-16 07:52:45 +00:00
|
|
|
import { SvelteKitPWA } from '@vite-pwa/sveltekit';
|
2024-01-03 19:35:06 +00:00
|
|
|
|
|
|
|
export default defineConfig({
|
2024-01-18 14:35:12 +00:00
|
|
|
plugins: [sveltekit(), purgeCss(), SvelteKitPWA()],
|
|
|
|
define: {
|
|
|
|
__APP_VERSION__: JSON.stringify(process.env.npm_package_version),
|
|
|
|
},
|
2024-01-03 19:35:06 +00:00
|
|
|
});
|