svelte-ts/svelte.config.js
2023-02-25 02:29:18 +01:00

21 líneas
476 B
JavaScript

import preprocess from "svelte-preprocess";
import adapter from "@sveltejs/adapter-auto";
import { vitePreprocess } from "@sveltejs/kit/vite";
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// for more information about preprocessors
preprocess: [
vitePreprocess(),
preprocess({
postcss: true,
}),
],
kit: {
adapter: adapter(),
},
};
export default config;