mirror of
https://github.com/midou36o/midou36o.github.io
synced 2025-06-04 00:41:01 +05:30
Move to node, update all dependencies, fix unocss, add a dockerfile and
Some checks are pending
Svelte Website guild. / Building the website (push) Waiting to run
Some checks are pending
Svelte Website guild. / Building the website (push) Waiting to run
a CI builder for gitea.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
// import adapter from '@sveltejs/adapter-auto';
|
||||
import adapter from '@sveltejs/adapter-static';
|
||||
import { vitePreprocess } from '@sveltejs/kit/vite';
|
||||
//import adapter from '@sveltejs/adapter-static';
|
||||
import adapter from '@sveltejs/adapter-node';
|
||||
//import { vitePreprocess } from '@sveltejs/kit/vite';
|
||||
import { mdsvex, escapeSvelte } from 'mdsvex';
|
||||
import shiki from 'shiki';
|
||||
import math from 'remark-math';
|
||||
@@ -13,7 +14,6 @@ const config = {
|
||||
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
|
||||
// for more information about preprocessors
|
||||
preprocess: [
|
||||
vitePreprocess(),
|
||||
mdsvex({
|
||||
extensions: ['.md', 'svx'],
|
||||
layout: 'src/lib/blog/+post.svelte',
|
||||
@@ -36,13 +36,14 @@ const config = {
|
||||
extensions: ['.svelte', '.md', '.svx'],
|
||||
|
||||
kit: {
|
||||
adapter: adapter({
|
||||
pages: 'build',
|
||||
assets: 'build',
|
||||
fallback: null,
|
||||
precompress: false,
|
||||
strict: false
|
||||
})
|
||||
// adapter: adapter({
|
||||
// pages: 'build',
|
||||
// assets: 'build',
|
||||
// fallback: null,
|
||||
// precompress: false,
|
||||
// strict: false
|
||||
// })
|
||||
adapter: adapter()
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user