2022-12-27 06:57:53 +00:00
|
|
|
import adapter from '@sveltejs/adapter-vercel';
|
2022-12-25 18:52:36 +00:00
|
|
|
import { vitePreprocess } from '@sveltejs/kit/vite';
|
2023-06-30 22:08:45 +00:00
|
|
|
/** @type {import('@sveltejs/kit').Config}*/
|
2022-01-28 05:27:12 +00:00
|
|
|
const config = {
|
2023-05-25 04:19:08 +00:00
|
|
|
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
|
2022-12-25 18:52:36 +00:00
|
|
|
// for more information about preprocessors
|
2023-06-30 22:08:45 +00:00
|
|
|
preprocess: [vitePreprocess({})],
|
2023-05-29 06:34:39 +00:00
|
|
|
vitePlugin: {
|
2023-06-30 22:08:45 +00:00
|
|
|
inspector: true
|
2023-05-29 06:34:39 +00:00
|
|
|
},
|
2023-05-25 04:19:08 +00:00
|
|
|
kit: {
|
|
|
|
|
adapter: adapter(),
|
|
|
|
|
alias: {
|
2023-06-16 06:28:49 +00:00
|
|
|
$assets: './src/assets',
|
2023-06-30 22:08:45 +00:00
|
|
|
$components: './src/components',
|
|
|
|
|
'$components/*': 'src/lib/components/*',
|
2023-07-30 23:31:39 +00:00
|
|
|
$server: './src/server',
|
2023-05-29 06:34:39 +00:00
|
|
|
$lib: './src/lib',
|
2023-07-03 06:04:33 +00:00
|
|
|
$state: './src/state',
|
2023-05-25 04:19:08 +00:00
|
|
|
$styles: './src/styles',
|
2023-06-16 06:28:49 +00:00
|
|
|
$themes: './src/themes'
|
2023-05-25 04:19:08 +00:00
|
|
|
}
|
|
|
|
|
},
|
2023-06-30 22:08:45 +00:00
|
|
|
shadcn: {
|
|
|
|
|
componentPath: './src/lib/components/ui'
|
|
|
|
|
}
|
2022-01-28 05:27:12 +00:00
|
|
|
};
|
|
|
|
|
export default config;
|