Files
oki-podcast-reader/svelte.config.js
T

27 lines
587 B
JavaScript
Raw Normal View History

2023-07-09 22:18:06 +01:00
import adapter from '@sveltejs/adapter-static';
2023-02-21 22:09:10 +00:00
import { vitePreprocess } from '@sveltejs/kit/vite';
2023-07-09 22:18:06 +01:00
import preprocess from 'svelte-preprocess';
2023-02-21 22:09:10 +00:00
/** @type {import('@sveltejs/kit').Config} */
const config = {
2023-07-09 22:18:06 +01:00
extensions: ['.svelte'],
2023-02-21 22:09:10 +00:00
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// for more information about preprocessors
2023-07-09 22:18:06 +01:00
preprocess: [vitePreprocess(), preprocess({ postcss: true })],
2023-02-21 22:09:10 +00:00
kit: {
2023-02-23 13:28:04 +00:00
adapter: adapter(),
2023-02-24 13:32:10 +00:00
alias: {
2023-03-06 15:25:34 +00:00
'svelte-podcast': 'src/lib',
2023-07-09 22:18:06 +01:00
$content: 'src/content/',
},
paths: {
relative: true,
2023-02-24 13:32:10 +00:00
},
2023-02-23 13:28:04 +00:00
},
2023-02-21 22:09:10 +00:00
};
export default config;