initial work on refactor

This commit is contained in:
2022-07-02 22:53:41 +03:00
parent 9841cd9895
commit b9fe05953a
31 changed files with 455 additions and 737 deletions

View File

@@ -1,14 +1,21 @@
import adapter from "@sveltejs/adapter-static";
import preprocess from "svelte-preprocess";
import icons from "unplugin-icons/vite";
import { mdsvex } from "mdsvex";
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://github.com/sveltejs/svelte-preprocess
// for more information about preprocessors
extensions: [".svelte"],
extensions: [".svelte", ".md"],
preprocess: [preprocess()],
preprocess: [
preprocess(),
mdsvex({
extensions: [".md"],
layout: "./src/lib/MDsvexLayout.svelte"
})
],
kit: {
adapter: adapter(),