ava/vite.config.ts
2024-07-12 01:49:22 -07:00

13 lines
286 B
TypeScript

import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
import pkg from "./package.json"
export default defineConfig({
plugins: [sveltekit()],
define: {
'__APP_NAME__': JSON.stringify(pkg.name),
'__APP_VERSION__': JSON.stringify(pkg.version)
}
});