1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-01 08:31:59 +00:00
immich/web/svelte.config.js

27 lines
563 B
JavaScript
Raw Permalink Normal View History

import adapter from '@sveltejs/adapter-static';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
2022-09-08 15:30:49 +00:00
/** @type {import('@sveltejs/kit').Config} */
const config = {
preprocess: vitePreprocess(),
kit: {
2024-05-21 08:05:05 +00:00
prerender: {
entries: [],
handleHttpError: 'warn',
},
adapter: adapter({
2024-05-21 08:05:05 +00:00
pages: 'build',
assets: 'build',
fallback: 'index.html',
2024-05-17 16:50:55 +00:00
precompress: false,
}),
alias: {
$lib: 'src/lib',
'$lib/*': 'src/lib/*',
'@test-data': 'src/test-data',
},
},
};
export default config;