feat: add new site

This commit is contained in:
Alexander Daichendt 2022-07-26 00:25:51 +02:00
parent 53738961bb
commit 532a32db68
27 changed files with 1198 additions and 1328 deletions

View file

@ -1,18 +1,26 @@
import adapter from '@sveltejs/adapter-auto';
import preprocess from 'svelte-preprocess';
import mdsvexConfig from './mdsvex.config.js';
import autoprefixer from 'autoprefixer';
import cssNormalizer from 'postcss-normalize';
import { mdsvex } from 'mdsvex';
import mdsvexconfig from './mdsvex.config.js';
/** @type {import('@sveltejs/kit').Config} */
const config = {
extensions: ['.svelte', ...mdsvexConfig.extensions],
extensions: ['.svelte', ...mdsvexconfig.extensions],
// Consult https://github.com/sveltejs/svelte-preprocess
// for more information about preprocessors
preprocess: [mdsvex(mdsvexConfig), preprocess()],
preprocess: [
preprocess({ postcss: { plugins: [autoprefixer, cssNormalizer()] } }),
mdsvex(mdsvexconfig)
],
kit: {
adapter: adapter()
},
prerender: {
default: true
}
};