forked from blisstown/campfire
add icons
This commit is contained in:
parent
e5d8cafd25
commit
b062153098
33 changed files with 599 additions and 50 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue