import devtoolsJson from "vite-plugin-devtools-json";
import tailwindcss from "@tailwindcss/vite";
import { sveltekit } from "@sveltejs/kit/vite";
import { defineConfig } from "vite";

export default defineConfig({
    plugins: [tailwindcss(), sveltekit(), devtoolsJson()],
    optimizeDeps: {
        // for some reason this specific combination of
        // includes/excludes is required for jassub to work
        exclude: ["jassub"],
        include: ["throughput"],
    }
});
