musica / source /ui /svelte.config.js
MMVos's picture
try
4a9e8e5
raw history blame
No virus
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;