happyDeliver/web/svelte.config.js
2025-10-20 15:02:14 +07:00

19 lines
518 B
JavaScript

import adapter from "@sveltejs/adapter-static";
import { vitePreprocess } from "@sveltejs/vite-plugin-svelte";
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://svelte.dev/docs/kit/integrations
// for more information about preprocessors
preprocess: vitePreprocess(),
kit: {
adapter: adapter({
fallback: "index.html",
}),
paths: {
relative: process.env.MODE === "production",
},
},
};
export default config;