website/svelte.config.js

23 lines
761 B
JavaScript
Raw Normal View History

2024-03-08 12:44:35 -07:00
import adapter from "@sveltejs/adapter-node";
2024-03-07 04:35:43 -07:00
import { vitePreprocess } from "@sveltejs/vite-plugin-svelte";
2024-03-06 08:05:24 -07:00
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// for more information about preprocessors
2024-03-08 04:14:32 -07:00
preprocess: [vitePreprocess({})],
2024-03-06 08:05:24 -07: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 15:38:04 -07:00
adapter: adapter(),
alias: {
2024-03-07 04:35:43 -07:00
$components: "./src/components",
$assets: "./src/assets",
},
},
2024-03-06 08:05:24 -07:00
};
export default config;