pockethost/packages/dashboard/svelte.config.js
2023-10-02 08:41:49 -07:00

21 lines
524 B
JavaScript

import adapter from '@sveltejs/adapter-static'
import preprocess from 'svelte-preprocess'
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://github.com/sveltejs/svelte-preprocess
// for more information about preprocessors
preprocess: preprocess(),
kit: {
adapter: adapter({ out: 'dist-server', fallback: 'index.html' }),
alias: {
$components: './src/components',
$util: './src/util',
$src: './src',
},
},
target: '#svelte',
}
export default config