Skip to content

Commit

Permalink
Test not using static
Browse files Browse the repository at this point in the history
  • Loading branch information
connorrothschild committed Jan 2, 2024
1 parent 78f3ebc commit 28f5f0f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,18 @@ import { mdsvex } from "mdsvex";
import { mdsvexConfig } from "./mdsvex.config.js";
import vitePreprocess from "svelte-preprocess";
import { sveltekit } from "@sveltejs/kit/vite";
import adapter from "@sveltejs/adapter-static";
// import adapter from "@sveltejs/adapter-static";

/** @type {import('vite').UserConfig} */
const config = {
plugins: [sveltekit()],
extensions: [".svelte", ...mdsvexConfig.extensions],
preprocess: [vitePreprocess(), mdsvex(mdsvexConfig)],
kit: {
adapter: adapter({
fallback: "404.html",
}),
// adapter: adapter({
// pages: "build",
// fallback: "404.html",
// }),
paths: {
base: process.env.NODE_ENV === "production" ? "/v4" : "",
},
Expand Down

0 comments on commit 28f5f0f

Please sign in to comment.