Skip to content

Commit a90dd72

Browse files
committed
fix: externalize-wagmi
1 parent 7c9a8ce commit a90dd72

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

kleros-app/vite.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@ export default defineConfig({
1818
name: "kleros-app",
1919
fileName: "kleros-app",
2020
},
21+
sourcemap: true,
2122
rollupOptions: {
2223
// make sure to externalize deps that shouldn't be bundled
2324
// into your library
24-
external: ["react", "react-dom", "viem", "@tanstack/react-query", "graphql", "graphql-request"],
25+
external: ["react", "react-dom", "viem", "wagmi", "@tanstack/react-query", "graphql", "graphql-request"],
2526
output: {
2627
// Provide global variables to use in the UMD build
2728
// for externalized deps

0 commit comments

Comments
 (0)