push initial rewrite (already prod ready!)

This commit is contained in:
2022-06-17 21:52:07 +03:00
parent 75c8387e1d
commit 701df6a56e
41 changed files with 578 additions and 2549 deletions

View File

@@ -1,21 +1,32 @@
import adapter from '@sveltejs/adapter-static';
import preprocess from 'svelte-preprocess';
import icons from 'unplugin-icons/vite'
import { mdsvex } from "mdsvex";
import mdsvexConfig from "./mdsvex.config.js";
import adapter from "@sveltejs/adapter-static";
import preprocess from "svelte-preprocess";
/** @type {import('@sveltejs/kit').Config} */
const config = {
extensions: [".svelte", ...mdsvexConfig.extensions],
// Consult https://github.com/sveltejs/svelte-preprocess
// for more information about preprocessors
extensions: [".svelte", ".md"],
// Consult https://github.com/sveltejs/svelte-preprocess
// for more information about preprocessors
preprocess: [preprocess(), mdsvex(mdsvexConfig)],
preprocess: [
preprocess(),
mdsvex({
extensions: [".md"],
})
],
kit: {
adapter: adapter(),
kit: {
adapter: adapter(),
prerender: { default: true }
},
vite: {
plugins: [
icons({
compiler: 'svelte',
}),
],
},
}
};
export default config;