17 lines
383 B
JavaScript
17 lines
383 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) => file.includes("/.petalpkgs")
|
|
},
|
|
fs: {
|
|
allow: ["./tailwind.config.js", "./.petalpkgs"]
|
|
}
|
|
}
|
|
});
|