ava/vite.config.ts

13 lines
286 B
TypeScript
Raw Normal View History

2024-06-23 14:07:56 -07:00
import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
2024-07-12 01:49:22 -07:00
import pkg from "./package.json"
2024-06-23 14:07:56 -07:00
export default defineConfig({
2024-07-12 01:49:22 -07:00
plugins: [sveltekit()],
define: {
'__APP_NAME__': JSON.stringify(pkg.name),
'__APP_VERSION__': JSON.stringify(pkg.version)
}
2024-06-23 14:07:56 -07:00
});