composer / source /ui /svelte.config.js
Ron Au
build: merge local branch for Space
075b025
raw
history blame
504 Bytes
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;