fixing build and upgrading dependencies

This commit is contained in:
2023-12-23 17:41:58 +01:00
parent 9647b2c39b
commit b46705c97f
142 changed files with 1192 additions and 399 deletions

View File

@ -1,7 +1,8 @@
import { mdsvex } from "mdsvex";
import mdsvexConfig from "./mdsvex.config.js";
import adapter from "@sveltejs/adapter-static";
import { vitePreprocess } from "@sveltejs/kit/vite";
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
/** @type {import('@sveltejs/kit').Config} */
const config = {
@ -15,7 +16,10 @@ const config = {
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
// If your environment is not supported or you settled on a specific environment, switch out the adapter.
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
adapter: adapter({ pages: "dist" }),
adapter: adapter({
precompress: true,
pages: "dist",
}),
alias: {
$data: "src/data",
}