UNPKG

@solidstate/hardhat-log-remover

Version:

Remove Hardhat console.log imports and calls from Solidity source files

13 lines (10 loc) 366 B
import pkg from '../package.json' with { type: 'json' }; import taskRemoveLogs from './tasks/remove_logs.js'; import { HardhatPlugin } from 'hardhat/types/plugins'; const plugin: HardhatPlugin = { id: pkg.name!, npmPackage: pkg.name!, dependencies: () => [import('@solidstate/hardhat-solidstate-utils')], tasks: [taskRemoveLogs], }; export default plugin;