mirror of
https://github.com/morten-olsen/morten-olsen.github.io.git
synced 2026-02-08 01:46:28 +01:00
23 lines
549 B
JavaScript
23 lines
549 B
JavaScript
import adapter from '@sveltejs/adapter-static';
|
|
import { vitePreprocess } from '@sveltejs/kit/vite';
|
|
import { cssModules } from 'svelte-preprocess-cssmodules';
|
|
import { mdsvex } from 'mdsvex';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
kit: {
|
|
inlineStyleThreshold: 1024 * 10,
|
|
adapter: adapter({
|
|
pages: 'build',
|
|
assets: 'build',
|
|
fallback: undefined,
|
|
precompress: false,
|
|
strict: true
|
|
})
|
|
},
|
|
extensions: ['.svelte', '.svx'],
|
|
preprocess: [vitePreprocess(), cssModules(), mdsvex()]
|
|
};
|
|
|
|
export default config;
|