Skip to content
This repository was archived by the owner on Apr 8, 2026. It is now read-only.

Commit 6d0971c

Browse files
authored
fix: reexport properly (#35)
* fix: reexport properly * chore: add changeset * reexport with alias
1 parent 09ae44e commit 6d0971c

3 files changed

Lines changed: 9 additions & 4 deletions

File tree

.changeset/gold-tools-end.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@foundry-rs/hardhat": patch
3+
---
4+
5+
fix: reexport via package name import

packages/hardhat/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"homepage": "https://github.com/foundry-rs/hardhat",
66
"repository": "github:foundry-rs/hardhat",
77
"license": "MIT",
8-
"main": "dist/hardhat/src/index.js",
9-
"types": "dist/hardhat/src/index.d.ts",
8+
"main": "dist/src/index.js",
9+
"types": "dist/src/index.d.ts",
1010
"keywords": [
1111
"ethereum",
1212
"smart-contracts",

packages/hardhat/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
import "../../hardhat-forge/src/index";
2-
import "../../hardhat-anvil/src/index";
1+
export * as forge from "@foundry-rs/hardhat-forge";
2+
export * as anvil from "@foundry-rs/hardhat-anvil";

0 commit comments

Comments
 (0)