-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsvelte.config.js
More file actions
39 lines (32 loc) · 975 Bytes
/
Copy pathsvelte.config.js
File metadata and controls
39 lines (32 loc) · 975 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/**
* @file svelte.config.ts
* @author James Bennion-Pedley
* @brief Site configuration
* @date 12/09/2023
*
* @copyright Copyright (c) 2023
*
*/
/*-------------------------------- Imports -----------------------------------*/
import adapter from "@sveltejs/adapter-static";
import { vitePreprocess } from '@sveltejs/kit/vite';
// Markdown Preprocessing
import { mdsvex } from "mdsvex";
// import remarkCodeBox from "./src/lib/plugins/remarkCodeBox.js";
/*--------------------------------- State ------------------------------------*/
/** @type {import('@sveltejs/kit').Config} */
const config = {
extensions: [".svelte", ".svelte.md"],
preprocess: [
mdsvex({
extensions: [".svelte.md"],
// remarkPlugins: [remarkCodeBox],
}),
vitePreprocess(),
],
kit: {
adapter: adapter(),
}
};
/*-------------------------------- Exports -----------------------------------*/
export default config;