kopia lustrzana https://github.com/FacilMap/facilmap
Apply workaround for failing test
rodzic
d7f3524d91
commit
2999e4646c
|
@ -1,3 +1,4 @@
|
|||
/// <reference types="vitest" />
|
||||
import { defineConfig } from "vite";
|
||||
import dtsPlugin from "vite-plugin-dts";
|
||||
|
||||
|
@ -18,5 +19,12 @@ export default defineConfig({
|
|||
rollupOptions: {
|
||||
external: (id) => id.includes("/node_modules/") || (!id.startsWith("./") && !id.startsWith("../") && /* resolved internal modules */ !id.startsWith("/"))
|
||||
}
|
||||
},
|
||||
test: {
|
||||
server: {
|
||||
deps: {
|
||||
external: [/\/node_modules\//] // Temporary fix for https://discord.com/channels/917386801235247114/1215127757550260225
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Ładowanie…
Reference in New Issue