Skip to content

Commit

Permalink
feat: bundler module resolution (#885)
Browse files Browse the repository at this point in the history
  • Loading branch information
rin-st committed Jul 17, 2024
1 parent cdb6cbc commit 4e8b444
Show file tree
Hide file tree
Showing 4 changed files with 157 additions and 93 deletions.
8 changes: 4 additions & 4 deletions packages/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"react-hot-toast": "^2.4.0",
"use-debounce": "^8.0.4",
"usehooks-ts": "^2.13.0",
"viem": "2.13.6",
"wagmi": "2.9.8",
"viem": "2.17.4",
"wagmi": "2.10.10",
"zustand": "^4.1.2"
},
"devDependencies": {
Expand All @@ -43,7 +43,7 @@
"@types/react": "^18.0.9",
"@types/react-copy-to-clipboard": "^5.0.4",
"@typescript-eslint/eslint-plugin": "^5.39.0",
"abitype": "1.0.2",
"abitype": "1.0.5",
"autoprefixer": "^10.4.12",
"eslint": "^8.15.0",
"eslint-config-next": "^14.0.4",
Expand All @@ -53,7 +53,7 @@
"prettier": "^3.3.2",
"tailwindcss": "^3.4.3",
"type-fest": "^4.6.0",
"typescript": "5.1.6",
"typescript": "5.5.3",
"vercel": "^32.4.1"
}
}
2 changes: 1 addition & 1 deletion packages/nextjs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"moduleResolution": "Bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
Expand Down
12 changes: 0 additions & 12 deletions packages/nextjs/types/abitype/abi.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,3 @@ declare module "abitype" {
AddressType: AddressType;
}
}

declare module "viem/node_modules/abitype" {
export interface Register {
AddressType: AddressType;
}
}

declare module "wagmi/node_moudles/abitype" {
export interface Register {
AddressType: AddressType;
}
}
Loading

0 comments on commit 4e8b444

Please sign in to comment.