Skip to content

Commit 518c771

Browse files
committed
fix: build
1 parent 4f1a3c2 commit 518c771

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
/// <reference types="next/image-types/global" />
33

44
// NOTE: This file should not be edited
5-
// see https://nextjs.org/docs/basic-features/typescript for more information.
5+
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.

vite.config.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,12 @@ export default defineConfig({
3131
fileName: (format) => `index.js`,
3232
},
3333
rollupOptions: {
34-
external: ["react", "react-dom"],
34+
external: [
35+
"react",
36+
"react-dom",
37+
"@zetachain/toolkit",
38+
"@zetachain/toolkit/client",
39+
],
3540
output: {
3641
globals: {
3742
react: "React",

0 commit comments

Comments
 (0)