Files
profilarr/svelte.config.js
Sam Chau 456ecc298b feat(api): add health check and OpenAPI docs
- Implemented health check endpoint to monitor application status and components.
- Added OpenAPI specification endpoint to serve the API documentation.
- Introduced new TypeScript definitions for API paths and components.
2026-01-15 16:50:28 +10:30

37 lines
1008 B
JavaScript

import adapter from 'sveltekit-adapter-deno';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
/** @type {import('@sveltejs/kit').Config} */
const config = {
preprocess: vitePreprocess(),
kit: {
adapter: adapter({
usage: 'deno-compile',
out: 'dist/build'
}),
outDir: 'dist/.svelte-kit',
alias: {
$api: './src/lib/api',
$config: './src/lib/server/utils/config/config.ts',
$logger: './src/lib/server/utils/logger',
$shared: './src/lib/shared',
$stores: './src/lib/client/stores',
$ui: './src/lib/client/ui',
$assets: './src/lib/client/assets',
$alerts: './src/lib/client/alerts',
$server: './src/server',
$db: './src/lib/server/db',
$jobs: './src/lib/server/jobs',
$pcd: './src/lib/server/pcd',
$arr: './src/lib/server/utils/arr',
$http: './src/lib/server/utils/http',
$utils: './src/lib/server/utils',
$notifications: './src/lib/server/notifications',
$cache: './src/lib/server/utils/cache',
}
}
};
export default config;