UNPKG

hardhat

Version:

Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.

12 lines 554 B
/** * Recovers the user-facing source name from a solc input source name by * stripping the Hardhat project prefix. * * Project files have an input source name like `project/contracts/Foo.sol`, * whereas the user writes paths — and config globs — against the * project-relative `contracts/Foo.sol`. npm package input source names * (`npm/<pkg>@<version>/...`) don't carry the project prefix and are returned * unchanged. */ export declare function toUserSourceName(inputSourceName: string): string; //# sourceMappingURL=source-names.d.ts.map