import { vitePreprocess } from "@sveltejs/vite-plugin-svelte";
import adapter from "@sveltejs/adapter-static";

/** @type {import('@sveltejs/kit').Config} */
const config = {
	preprocess: vitePreprocess(),
	kit: {
		adapter: adapter(),
		alias: {
			blocks: "src/blocks",
			components: "src/components",
			script: "src/script",
			style: "src/style",
		},
	},
	compilerOptions: {
		runes: true,
	},
};

export default config;
