M1_ProjetWeb/svelte.config.js

26 lines
786 B
JavaScript
Raw Permalink Normal View History

2024-11-25 16:27:31 +01:00
import { mdsvex } from 'mdsvex';
2024-12-18 09:38:42 +01:00
import adapter from '@sveltejs/adapter-node';
2024-11-25 16:27:31 +01:00
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://svelte.dev/docs/kit/integrations
// for more information about preprocessors
preprocess: [vitePreprocess(), mdsvex()],
2024-11-25 17:35:28 +01:00
alias: {
"@/*": "./path/to/lib/*",
},
2024-11-25 16:27:31 +01:00
kit: {
// adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list.
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
// See https://svelte.dev/docs/kit/adapters for more information about adapters.
2024-12-03 21:39:53 +01:00
adapter: adapter(),
2024-11-25 16:27:31 +01:00
},
extensions: ['.svelte', '.svx']
};
export default config;