floral.systems/vite.config.js

17 lines
393 B
JavaScript
Raw Permalink Normal View History

2024-10-05 18:10:59 +00:00
import { enhancedImages } from "@sveltejs/enhanced-img";
2024-09-16 11:00:04 +00:00
import { sveltekit } from "@sveltejs/kit/vite";
import { defineConfig } from "vite";
export default defineConfig({
2024-10-05 18:10:59 +00:00
plugins: [sveltekit(), enhancedImages()],
server: {
watch: {
// absurdly big
2024-10-27 02:09:35 +00:00
ignored: (file) => /\/(\.direnv|\.petalpkgs)$/.test(file)
},
fs: {
allow: ["./tailwind.config.js", "./.petalpkgs"]
}
}
2024-09-16 11:00:04 +00:00
});