linkylinky-dashboard/svelte.config.js

28 lines
456 B
JavaScript
Raw Normal View History

2021-08-16 16:27:09 +00:00
import preprocess from 'svelte-preprocess';
import staticAdapter from '@sveltejs/adapter-static';
/** @type {import('@sveltejs/kit').Config} */
const config = {
kit: {
// hydrate the <div id="svelte"> element in src/app.html
adapter: staticAdapter(),
2022-04-30 14:59:00 +00:00
prerender: {
default: true
},
2021-08-16 16:27:09 +00:00
files: {
assets: 'static'
2021-08-18 16:02:14 +00:00
},
paths: {
base: '/dashboard',
},
2021-08-16 16:27:09 +00:00
},
preprocess: [
preprocess({
postcss: true
})
]
};
export default config;