-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsvelte.config.js
More file actions
36 lines (33 loc) · 864 Bytes
/
svelte.config.js
File metadata and controls
36 lines (33 loc) · 864 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
import adapter from '@sveltejs/adapter-static';
import { vitePreprocess } from '@sveltejs/kit/vite';
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// for more information about preprocessors
preprocess: vitePreprocess(),
kit: {
adapter: adapter({
pages: 'build',
assets: 'build',
fallback: null,
precompress: true,
strict: true
}),
prerender: {
entries: [
'/',
'/wallet',
'/wallet/generate',
'/wallet/restore',
'/faq',
'/privacy',
'/terms',
'/blog/2023-05-09',
'/blog/2023-05-09/introducing-deliberative-crypto-package',
'/blog/2023-05-17',
'/blog/2023-05-17/reversing-secret-voting-power'
]
}
}
};
export default config;