mirror of
https://github.com/seriousm4x/UpSnap.git
synced 2026-07-28 00:12:56 -04:00
26 lines
667 B
JavaScript
26 lines
667 B
JavaScript
import adapter from '@sveltejs/adapter-static';
|
|
import preprocess from 'svelte-preprocess';
|
|
import path from 'path';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
// Consult https://github.com/sveltejs/svelte-preprocess
|
|
// for more information about preprocessors
|
|
preprocess: preprocess(),
|
|
|
|
kit: {
|
|
adapter: adapter({
|
|
fallback: 'index.html'
|
|
}),
|
|
alias: {
|
|
'@components': path.resolve('./src/components'),
|
|
'@stores': path.resolve('./src/stores')
|
|
},
|
|
prerender: {
|
|
entries: ['/device/[id]', '/settings', '/']
|
|
}
|
|
}
|
|
};
|
|
|
|
export default config;
|