mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
feat: pump doc references (#29331)
This commit is contained in:
parent
29949bebe4
commit
6507b1f94c
22 changed files with 1050 additions and 591 deletions
25
packages/scripts/vite.config.ts
Normal file
25
packages/scripts/vite.config.ts
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
import { defineConfig, UserConfig } from 'vite';
|
||||
|
||||
export default defineConfig({
|
||||
resolve: {
|
||||
alias: { src: '/src' },
|
||||
tsconfigPaths: true,
|
||||
},
|
||||
build: {
|
||||
rolldownOptions: {
|
||||
input: 'src/main.ts',
|
||||
output: {
|
||||
dir: 'dist',
|
||||
},
|
||||
},
|
||||
ssr: true,
|
||||
},
|
||||
ssr: {
|
||||
// bundle everything except for Node built-ins
|
||||
noExternal: /^(?!node:).*$/,
|
||||
},
|
||||
test: {
|
||||
name: 'scripts:unit',
|
||||
globals: true,
|
||||
},
|
||||
} as UserConfig);
|
||||
Loading…
Add table
Add a link
Reference in a new issue