mirror of
https://github.com/immich-app/immich.git
synced 2024-12-27 10:58:13 +02:00
16 lines
333 B
JavaScript
16 lines
333 B
JavaScript
|
import { sveltekit } from '@sveltejs/kit/vite';
|
||
|
import path from 'path';
|
||
|
|
||
|
/** @type {import('vite').UserConfig} */
|
||
|
const config = {
|
||
|
resolve: {
|
||
|
alias: {
|
||
|
'xmlhttprequest-ssl': './node_modules/engine.io-client/lib/xmlhttprequest.js',
|
||
|
'@api': path.resolve('./src/api')
|
||
|
}
|
||
|
},
|
||
|
plugins: [sveltekit()]
|
||
|
};
|
||
|
|
||
|
export default config;
|