UNPKG

@solidstate/hardhat-selector-uploader

Version:
17 lines (16 loc) 472 B
const DEFAULT_CONFIG = { runOnCompile: false, }; export default async () => ({ resolveUserConfig: async (userConfig, resolveConfigurationVariable, next) => { const resolvedConfig = await next(userConfig, resolveConfigurationVariable); const selectorUploader = { ...DEFAULT_CONFIG, ...userConfig.selectorUploader, }; return { ...resolvedConfig, selectorUploader, }; }, });