mirror of
https://github.com/immich-app/immich.git
synced 2024-12-28 22:51:59 +00:00
20 lines
420 B
JavaScript
20 lines
420 B
JavaScript
import { resolve } from 'node:path';
|
|
import { defineConfig } from 'vite';
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: {
|
|
lib: resolve('lib'),
|
|
src: resolve('src'),
|
|
test: resolve('test'),
|
|
},
|
|
},
|
|
build: {
|
|
lib: {
|
|
entry: resolve(__dirname, 'lib/index.ts'),
|
|
name: 'immich-docker',
|
|
// the proper extensions will be added
|
|
fileName: 'immich-docker',
|
|
},
|
|
},
|
|
});
|