flâneur

Ability to specify contracts to ignore in hardhat.config · Issue #2306 · NomicFoundation/hardhat

github.com · 110 words · saved by 1 readers

It would be very useful to have an additional property in hardhat.config.js that allows us to specify a list of files/paths to ignore from compilation. module.exports = { ... ignoreFiles: [ "I...

Update by @fvictorio: If you are here looking for a way to use Hardhat and Foundry together, please take a look at this guide. It would be very useful to have an additional property in hardhat.config.js that allows us to specify a list of files/paths to ignore from compilation. module.exports = { ... ignoreFiles: [ "InvalidContract.sol", "./contracts/*" ] }; Can be specified to ignore: Files that match the name Directories/folders Artifact name (contract name) It is useful for cases where there are multiple contracts in development where some will not succeed in compiling and will…

saved by

related reading