add icons

This commit is contained in:
etstringy 2024-06-30 19:57:32 +01:00 committed by vimae
parent e5d8cafd25
commit b062153098
33 changed files with 599 additions and 50 deletions

View file

@ -2,6 +2,7 @@ import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
import { readFileSync } from 'fs';
import { fileURLToPath } from 'url';
import svg from '@poppanator/sveltekit-svg'
const packageFile = fileURLToPath(new URL('package.json', import.meta.url));
const packageData = readFileSync(packageFile, 'utf8');
@ -9,7 +10,10 @@ const packageJSON = JSON.parse(packageData);
export default defineConfig({
plugins: [sveltekit()],
plugins: [
sveltekit(),
svg()
],
define: {
APP_VERSION: JSON.stringify(packageJSON.version)
}