fixing build and upgrading dependencies
This commit is contained in:
@ -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",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user