9 lines
266 B
TypeScript
9 lines
266 B
TypeScript
import { defineConfig } from 'vite';
|
|
import { svelte } from '@sveltejs/vite-plugin-svelte';
|
|
import pkg from './package.json' with { type: 'json' };
|
|
|
|
export default defineConfig({
|
|
plugins: [svelte()],
|
|
define: { __APP_VERSION__: JSON.stringify(pkg.version) },
|
|
});
|