svelte-ts/svelte.config.js
2024-03-11 19:24:10 +01:00

21 líneas
486 B
JavaScript

import preprocess from "svelte-preprocess";
import adapter from '@sveltejs/adapter-node';
import { vitePreprocess } from "@sveltejs/vite-plugin-svelte";
/** @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;