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()],
|
2024-10-27 02:04:00 +00:00
|
|
|
server: {
|
|
|
|
watch: {
|
|
|
|
// absurdly big
|
2024-10-27 02:09:35 +00:00
|
|
|
ignored: (file) => /\/(\.direnv|\.petalpkgs)$/.test(file)
|
2024-10-27 02:04:00 +00:00
|
|
|
},
|
|
|
|
fs: {
|
|
|
|
allow: ["./tailwind.config.js", "./.petalpkgs"]
|
|
|
|
}
|
|
|
|
}
|
2024-09-16 11:00:04 +00:00
|
|
|
});
|