radames's picture
gradio app url
795c159
raw
history blame
520 Bytes
import adapter from '@sveltejs/adapter-static';
import preprocess from 'svelte-preprocess';
const dev = process.env.NODE_ENV === 'development';
console.log(dev)
/** @type {import('@sveltejs/kit').Config} */
const config = {
preprocess: [
preprocess({
postcss: true
})
],
kit: {
paths: {
base: dev ? '' : '/embed/huggingface-projects/stable-diffusion-multiplayer'
},
adapter: adapter({
pages: 'build',
assets: 'build',
fallback: null,
precompress: false
})
}
};
export default config;