hardhat
Version:
Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.
13 lines • 683 B
JavaScript
import { resolveSolidityUserConfig, validateSolidityConfig, validateSolidityUserConfig, } from "../config.js";
export default async () => {
const handlers = {
validateUserConfig: async (userConfig) => validateSolidityUserConfig(userConfig),
resolveUserConfig: async (userConfig, resolveConfigurationVariable, next) => {
const resolvedConfig = await next(userConfig, resolveConfigurationVariable);
return await resolveSolidityUserConfig(userConfig, resolvedConfig);
},
validateResolvedConfig: async (resolvedConfig) => validateSolidityConfig(resolvedConfig),
};
return handlers;
};
//# sourceMappingURL=config.js.map