mirror of
https://github.com/immich-app/immich.git
synced 2024-11-24 08:52:28 +02:00
0a6e5e0ec1
fix vitest on file edit
17 lines
325 B
JavaScript
17 lines
325 B
JavaScript
import swc from 'unplugin-swc';
|
|
import tsconfigPaths from 'vite-tsconfig-paths';
|
|
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
root: './',
|
|
globals: true,
|
|
server: {
|
|
deps: {
|
|
fallbackCJS: true,
|
|
},
|
|
},
|
|
},
|
|
plugins: [swc.vite(), tsconfigPaths()],
|
|
});
|