feat: add vite-plugin-devtools-json for enhanced development tools

This commit is contained in:
2025-06-27 08:58:51 +02:00
parent e4441c98e3
commit 5fdb085963
3 changed files with 9 additions and 2 deletions

View File

@@ -1,12 +1,13 @@
import { defineConfig } from "vite";
import { sveltekit } from "@sveltejs/kit/vite";
import devtoolsJson from 'vite-plugin-devtools-json';
// @ts-expect-error process is a nodejs global
const host = process.env.TAURI_DEV_HOST;
// https://vitejs.dev/config/
export default defineConfig(async () => ({
plugins: [sveltekit()],
plugins: [sveltekit(), devtoolsJson()],
// Vite options tailored for Tauri development and only applied in `tauri dev` or `tauri build`
//