mirror of
https://github.com/immich-app/immich.git
synced 2024-11-28 09:33:27 +02:00
9a6dfacf9b
* Refactor main index page * Refactor admin page * Refactor Auth endpoint * Refactor directory to prep for monorepo * Fixed refactoring path * Resolved file path in vite * Refactor photo index page * Refactor thumbnail * Fixed test * Refactor Video Viewer component * Refactor download file * Refactor navigation bar * Refactor upload file check * Simplify Upload Asset signature * PR feedback
25 lines
520 B
JavaScript
25 lines
520 B
JavaScript
import preprocess from 'svelte-preprocess';
|
|
import adapter from '@sveltejs/adapter-node';
|
|
import path from 'path';
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
preprocess: preprocess(),
|
|
|
|
kit: {
|
|
adapter: adapter({ out: 'build' }),
|
|
methodOverride: {
|
|
allowed: ['PATCH', 'DELETE'],
|
|
},
|
|
vite: {
|
|
resolve: {
|
|
alias: {
|
|
'xmlhttprequest-ssl': './node_modules/engine.io-client/lib/xmlhttprequest.js',
|
|
'@api': path.resolve('./src/api'),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
};
|
|
|
|
export default config;
|