27 lines
587 B
JavaScript
27 lines
587 B
JavaScript
import adapter from '@sveltejs/adapter-static';
|
|
import { vitePreprocess } from '@sveltejs/kit/vite';
|
|
import preprocess from 'svelte-preprocess';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
extensions: ['.svelte'],
|
|
|
|
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
|
|
// for more information about preprocessors
|
|
preprocess: [vitePreprocess(), preprocess({ postcss: true })],
|
|
|
|
kit: {
|
|
adapter: adapter(),
|
|
alias: {
|
|
'svelte-podcast': 'src/lib',
|
|
$content: 'src/content/',
|
|
},
|
|
|
|
paths: {
|
|
relative: true,
|
|
},
|
|
},
|
|
};
|
|
|
|
export default config;
|