forked from svelteland/svelte-kit-blog-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
svelte.config.js
29 lines (24 loc) · 822 Bytes
/
svelte.config.js
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
import sveltePreprocess from 'svelte-preprocess';
import node from '@sveltejs/adapter-node';
import static_adapter from '@sveltejs/adapter-static';
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://github.com/sveltejs/svelte-preprocess
// for more information about preprocessors
preprocess: sveltePreprocess(),
kit: {
// By default, `npm run build` will create a standard Node app.
// You can create optimized builds for different platforms by
// specifying a different adapter
//adapter: node(),
adapter: static_adapter(),
// Comment the paths if wants to run in dev mode.
paths: {
base: '/svelte-kit-blog-demo',
assets: '/svelte-kit-blog-demo'
},
// hydrate the <div id="svelte"> element in src/app.html
target: '#svelte',
}
};
export default config;