File size: 504 Bytes
b450589
3de2a7a
 
 
 
b450589
3de2a7a
b450589
 
075b025
ca5bd83
b450589
075b025
 
 
b450589
 
 
 
 
 
 
 
 
 
 
3de2a7a
 
 
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
import adapter from '@sveltejs/adapter-static';
import preprocess from 'svelte-preprocess';

/** @type {import('@sveltejs/kit').Config} */
const config = {
  preprocess: preprocess(),

  kit: {
    adapter: adapter({
      pages: '../../static',
      assets: '../../static',
    }),
    paths: {
      base: '/static',
    },
    prerender: {
      default: true,
    },
    vite: {
      server: {
        watch: {
          usePolling: true,
        },
      },
    },
  },
};

export default config;