website/svelte.config.js

23 lines
761 B
JavaScript
Raw Normal View History

2024-03-08 20:44:35 +01:00
import adapter from "@sveltejs/adapter-node";
2024-03-07 12:35:43 +01:00
import { vitePreprocess } from "@sveltejs/vite-plugin-svelte";
2024-03-06 16:05:24 +01:00
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// for more information about preprocessors
2024-03-08 12:14:32 +01:00
preprocess: [vitePreprocess({})],
2024-03-06 16:05:24 +01:00
kit: {
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
// If your environment is not supported or you settled on a specific environment, switch out the adapter.
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
2024-03-06 23:38:04 +01:00
adapter: adapter(),
alias: {
2024-03-07 12:35:43 +01:00
$components: "./src/components",
$assets: "./src/assets",
},
},
2024-03-06 16:05:24 +01:00
};
export default config;