floral.systems/vite.config.js

17 lines
393 B
JavaScript

import { enhancedImages } from "@sveltejs/enhanced-img";
import { sveltekit } from "@sveltejs/kit/vite";
import { defineConfig } from "vite";
export default defineConfig({
plugins: [sveltekit(), enhancedImages()],
server: {
watch: {
// absurdly big
ignored: (file) => /\/(\.direnv|\.petalpkgs)$/.test(file)
},
fs: {
allow: ["./tailwind.config.js", "./.petalpkgs"]
}
}
});