1
0
mirror of https://github.com/immich-app/immich.git synced 2025-08-10 23:22:22 +02:00

fix(server): make vitest pick up edited files (#11385)

fix vitest on file edit
This commit is contained in:
Jonathan Jogenfors
2024-07-26 23:26:38 +02:00
committed by GitHub
parent 65a4f86154
commit 0a6e5e0ec1
3 changed files with 75 additions and 9 deletions

View File

@@ -1,4 +1,5 @@
import swc from 'unplugin-swc';
import tsconfigPaths from 'vite-tsconfig-paths';
import { defineConfig } from 'vitest/config';
export default defineConfig({
@@ -11,5 +12,5 @@ export default defineConfig({
},
},
},
plugins: [swc.vite()],
plugins: [swc.vite(), tsconfigPaths()],
});