mirror of
https://github.com/pockethost/pockethost.git
synced 2025-03-30 15:08:30 +00:00
25 lines
596 B
JavaScript
25 lines
596 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({
|
|
pages: '../../dist/superadmin',
|
|
fallback: 'index.html',
|
|
}),
|
|
alias: {
|
|
$components: './src/components',
|
|
$util: './src/util',
|
|
$src: './src',
|
|
$shared: '../pockethost/src/shared',
|
|
},
|
|
},
|
|
target: '#svelte',
|
|
}
|
|
|
|
export default config
|