mirror of
https://github.com/seriousm4x/UpSnap.git
synced 2026-03-31 06:24:11 -04:00
21 lines
502 B
JavaScript
21 lines
502 B
JavaScript
import adapter from '@sveltejs/adapter-node';
|
|
import { vitePreprocess } from '@sveltejs/kit/vite';
|
|
import path from 'path';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
|
|
// for more information about preprocessors
|
|
preprocess: vitePreprocess(),
|
|
|
|
kit: {
|
|
adapter: adapter(),
|
|
alias: {
|
|
'@components': path.resolve('./src/components'),
|
|
'@stores': path.resolve('./src/stores')
|
|
}
|
|
}
|
|
};
|
|
|
|
export default config;
|