2022-03-12 01:34:09 -08:00
|
|
|
import {mdsvex} from 'mdsvex';
|
2022-03-09 22:18:22 -08:00
|
|
|
import mdsvexConfig from './mdsvex.config.js';
|
2022-03-13 23:10:58 -07:00
|
|
|
import adapter from '@sveltejs/adapter-auto';
|
2022-03-07 21:55:31 -08:00
|
|
|
import preprocess from 'svelte-preprocess';
|
2022-03-09 23:17:28 -08:00
|
|
|
import Icons from 'unplugin-icons/vite';
|
2022-03-12 01:34:09 -08:00
|
|
|
import svelteSvg from '@poppanator/sveltekit-svg';
|
2022-03-07 21:55:31 -08:00
|
|
|
|
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
|
|
|
const config = {
|
2022-03-12 01:34:09 -08:00
|
|
|
extensions: ['.svelte', ...mdsvexConfig.extensions],
|
2022-03-09 22:18:22 -08:00
|
|
|
|
2022-03-12 01:34:09 -08:00
|
|
|
preprocess: [
|
|
|
|
|
preprocess({
|
|
|
|
|
postcss: true,
|
|
|
|
|
}),
|
|
|
|
|
mdsvex(mdsvexConfig),
|
|
|
|
|
],
|
2022-03-07 21:55:31 -08:00
|
|
|
|
2022-03-12 01:34:09 -08:00
|
|
|
kit: {
|
2022-03-13 23:10:58 -07:00
|
|
|
adapter: adapter(),
|
2022-03-12 01:34:09 -08:00
|
|
|
vite: {
|
|
|
|
|
plugins: [
|
|
|
|
|
svelteSvg(),
|
|
|
|
|
Icons({
|
|
|
|
|
compiler: 'svelte',
|
2022-03-13 23:10:58 -07:00
|
|
|
defaultClass: 'icon',
|
2022-03-12 01:34:09 -08:00
|
|
|
}),
|
|
|
|
|
],
|
|
|
|
|
},
|
2022-03-09 23:17:28 -08:00
|
|
|
},
|
2022-03-07 21:55:31 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default config;
|