UNPKG

buidler-log-remover

Version:

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

34 lines (21 loc) 498 B
# Buidler Log Remover Remove Buidler `console.log` imports and calls from Solidity source code. ## Installation ```bash yarn add --dev buidler-log-remover ``` ## Usage Load plugin in Buidler config: ```javascript usePlugin('buidler-log-remover'); ``` Run the Buidler task manually: ```bash yarn run buidler remove-logs ``` Before removing logs, the plugin will ensure that all contracts can be compiled successfully. ## Testing Run the unit tests with Mocha: ```bash yarn run mocha ```