mirror of
https://github.com/morten-olsen/morten-olsen.github.io.git
synced 2026-02-08 01:46:28 +01:00
init
This commit is contained in:
22
svelte.config.js
Normal file
22
svelte.config.js
Normal file
@@ -0,0 +1,22 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user