Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm package export support within Solidity import resolution #5992

Open
Tracked by #5988
kanej opened this issue Nov 27, 2024 · 0 comments
Open
Tracked by #5988

npm package export support within Solidity import resolution #5992

kanej opened this issue Nov 27, 2024 · 0 comments
Labels
status:ready This issue is ready to be worked on v-next A Hardhat v3 development task
Milestone

Comments

@kanej
Copy link
Member

kanej commented Nov 27, 2024

Hardhat 3's Solidity import resolution works well with npm packages installed locally (i.e. under ./node_modules). It does not however work with npm packages which use package.json exports.
To provide first class support for npm as a package manager for Solidity, we should support these exports as part of Solidity import resolution.

@github-actions github-actions bot added the status:ready This issue is ready to be worked on label Nov 27, 2024
@github-project-automation github-project-automation bot moved this to Backlog in Hardhat Nov 27, 2024
@kanej kanej added the v-next A Hardhat v3 development task label Nov 27, 2024
@kanej kanej added this to the Public Alpha milestone Nov 27, 2024
@kanej kanej moved this from Backlog to To-do in Hardhat Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:ready This issue is ready to be worked on v-next A Hardhat v3 development task
Projects
Status: To-do
Development

No branches or pull requests

1 participant