mirror of
https://github.com/immich-app/immich.git
synced 2024-12-29 15:11:58 +00:00
12fb90c232
* refactor(cli): yup * fix missing return for authenticate --------- Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
19 lines
383 B
TypeScript
19 lines
383 B
TypeScript
import { defineConfig } from 'vite';
|
|
import tsconfigPaths from 'vite-tsconfig-paths';
|
|
|
|
export default defineConfig({
|
|
build: {
|
|
rollupOptions: {
|
|
input: 'src/index.ts',
|
|
output: {
|
|
dir: 'dist',
|
|
},
|
|
},
|
|
ssr: true,
|
|
},
|
|
ssr: {
|
|
// bundle everything except for Node built-ins
|
|
noExternal: /^(?!node:).*$/,
|
|
},
|
|
plugins: [tsconfigPaths()],
|
|
});
|