UNPKG

hardhat-deploy

Version:

Hardhat plugin for replicable smart contract deployments and easy testing across multiple EVM chains, with support for proxies, diamonds, named accounts, and deployment fixtures

9 lines 418 B
import { DEFAULT_CONFIG } from './default.js'; export function getConfig(userConfig) { return { destinations: userConfig?.destinations?.map((v) => ({ mode: v.mode || 'javascript', folder: v.folder || './generated' })) || DEFAULT_CONFIG.destinations, // externalArtifacts: userConfig?.externalArtifacts || DEFAULT_CONFIG.externalArtifacts, }; } //# sourceMappingURL=get-config.js.map