mirror of
https://github.com/immich-app/immich.git
synced 2024-12-27 10:58:13 +02:00
18 lines
304 B
TypeScript
18 lines
304 B
TypeScript
|
import { defineConfig } from 'vite';
|
||
|
|
||
|
export default defineConfig({
|
||
|
build: {
|
||
|
rollupOptions: {
|
||
|
input: 'src/index.ts',
|
||
|
output: {
|
||
|
dir: 'dist',
|
||
|
},
|
||
|
},
|
||
|
ssr: true,
|
||
|
},
|
||
|
ssr: {
|
||
|
// bundle everything except for Node built-ins
|
||
|
noExternal: /^(?!node:).*$/,
|
||
|
},
|
||
|
});
|