Skip to content

hardhat.config.cjs, hardhat.config.cts files should be detected as well #701

@arowana-official

Description

@arowana-official

The only way to use Hardhat 2 with ESM is to rename the Hardhat config file with cjs or cts prefix.

Therefore, hardhat.config.{cjs,cts} file should be scanned as well along with hardhat.config.{js,ts}.

( Without this hardhat-vscode extension would raise an error that contracts are not found )

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions