2026-03-25 09:39:51 +07:00
|
|
|
import adapter from '@sveltejs/adapter-node';
|
|
|
|
|
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
|
|
|
|
|
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
|
|
|
const config = {
|
|
|
|
|
preprocess: vitePreprocess(),
|
|
|
|
|
kit: {
|
|
|
|
|
adapter: adapter({
|
|
|
|
|
out: 'build',
|
|
|
|
|
precompress: true
|
|
|
|
|
}),
|
|
|
|
|
alias: {
|
|
|
|
|
$components: 'src/lib/components',
|
|
|
|
|
$stores: 'src/lib/stores',
|
|
|
|
|
$services: 'src/lib/services',
|
2026-03-27 16:41:57 +07:00
|
|
|
$types: 'src/lib/types',
|
|
|
|
|
$actions: 'src/lib/actions'
|
2026-03-25 09:39:51 +07:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default config;
|