Files
pages/svelte.config.js

37 lines
701 B
JavaScript
Raw Normal View History

2025-08-16 10:24:06 +02:00
import adapter from '@sveltejs/adapter-node';
2025-03-31 19:03:23 +02:00
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
2025-12-04 20:10:23 +00:00
import { mdsvex } from 'mdsvex';
2025-03-31 19:03:23 +02:00
2025-07-14 13:14:40 +02:00
const missingPaths = [
// "/games/swordsnstuff",
// "/games/magician",
// "/projects/tads/tads1",
// "/projects/tads/tads2"
2025-07-14 13:14:40 +02:00
]
2025-03-31 23:07:29 +02:00
/** @type {import('@sveltejs/kit').Config} */
2025-03-31 19:03:23 +02:00
const config = {
// preprocess: vitePreprocess(),
2025-03-31 23:07:29 +02:00
kit: {
adapter: adapter({
pages: 'build',
assets: 'build',
fallback: undefined,
preprocess: false,
strict: true,
}),
2025-04-04 20:28:38 +02:00
prerender: {
handleMissingId: 'ignore',
},
2025-03-31 23:07:29 +02:00
},
2025-12-04 20:10:23 +00:00
extensions: ['.svelte', '.md'],
preprocess: [
vitePreprocess(),
mdsvex({
extensions: ['.md'],
2025-12-04 20:10:23 +00:00
}),
]
2025-03-31 19:03:23 +02:00
};
export default config;