Files
classroomio/apps/dashboard/svelte.config.js
T

21 lines
517 B
JavaScript
Raw Normal View History

2023-08-02 19:44:28 +01:00
import { vitePreprocess } from '@sveltejs/kit/vite';
2023-11-07 09:36:47 +00:00
import vercelAdapter from '@sveltejs/adapter-vercel';
2024-02-29 06:32:40 +00:00
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: {
2024-02-29 06:32:40 +00:00
adapter: vercelAdapter(),
alias: {
$lib: path.resolve('./src/lib'),
$defer: path.resolve('./src/defer')
}
2023-08-03 19:24:03 +01:00
}
};
export default config;