UNPKG

@solidstate/hardhat-license-identifier

Version:
18 lines (17 loc) 460 B
const DEFAULT_CONFIG = { overwrite: false, runOnCompile: false, only: [], except: [], }; export default async () => ({ resolveUserConfig: async (userConfig, resolveConfigurationVariable, next) => { return { ...(await next(userConfig, resolveConfigurationVariable)), licenseIdentifier: { ...DEFAULT_CONFIG, ...userConfig.licenseIdentifier, }, }; }, });