Skip to content

Commit

Permalink
Apply workaround for failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
cdauth committed Mar 9, 2024
1 parent d7f3524 commit 2999e46
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions utils/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// <reference types="vitest" />
import { defineConfig } from "vite";
import dtsPlugin from "vite-plugin-dts";

Expand All @@ -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
}
}
}
});

0 comments on commit 2999e46

Please sign in to comment.