Package Exports
- sol-merger/lib/merger
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (sol-merger) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
USAGE
Right now it only can process one solidity source file at time.
Simple usage:
npm i --save-dev sol-mergerThen add following line to your package.json.
{
"scripts": {
"build-contracts": "sol-merger ./contracts/MyContract.sol ./build/MyContract.sol"
},
}If no output file specified then output file will be created at the same
directory and appended with _merged, i.e. MyContract_merged.sol.