mirror of
https://github.com/samvallad33/vestige.git
synced 2026-04-26 01:06:21 +02:00
28 lines
544 B
JavaScript
28 lines
544 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: {
|
||
|
|
adapter: adapter({
|
||
|
|
pages: 'build',
|
||
|
|
assets: 'build',
|
||
|
|
fallback: 'index.html',
|
||
|
|
precompress: true,
|
||
|
|
strict: false
|
||
|
|
}),
|
||
|
|
paths: {
|
||
|
|
base: '/dashboard'
|
||
|
|
},
|
||
|
|
alias: {
|
||
|
|
$lib: 'src/lib',
|
||
|
|
$components: 'src/lib/components',
|
||
|
|
$stores: 'src/lib/stores',
|
||
|
|
$types: 'src/lib/types'
|
||
|
|
}
|
||
|
|
}
|
||
|
|
};
|
||
|
|
|
||
|
|
export default config;
|