svelte-ts/svelte.config.js

22 líneas
476 B
JavaScript
Original Vista normal Històric

2023-02-25 02:29:18 +01:00
import preprocess from "svelte-preprocess";
import adapter from "@sveltejs/adapter-auto";
import { vitePreprocess } from "@sveltejs/kit/vite";
2023-02-03 15:06:55 +01:00
/** @type {import('@sveltejs/kit').Config} */
const config = {
2023-02-25 02:29:18 +01:00
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// for more information about preprocessors
preprocess: [
vitePreprocess(),
preprocess({
postcss: true,
}),
],
2023-02-03 15:06:55 +01:00
2023-02-25 02:29:18 +01:00
kit: {
adapter: adapter(),
},
2023-02-03 15:06:55 +01:00
};
export default config;