Spaces:
Runtime error
Runtime error
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; | |