mirror of
https://github.com/exo-explore/exo.git
synced 2025-12-23 14:17:58 -05:00
29 lines
514 B
JavaScript
29 lines
514 B
JavaScript
import adapter from '@sveltejs/adapter-static';
|
|
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
preprocess: [vitePreprocess()],
|
|
|
|
kit: {
|
|
paths: {
|
|
relative: true
|
|
},
|
|
router: { type: 'hash' },
|
|
adapter: adapter({
|
|
pages: 'build',
|
|
assets: 'build',
|
|
fallback: 'index.html',
|
|
precompress: false,
|
|
strict: true
|
|
}),
|
|
alias: {
|
|
$lib: 'src/lib',
|
|
$components: 'src/lib/components'
|
|
}
|
|
}
|
|
};
|
|
|
|
export default config;
|
|
|