jsonio: both libraries and outputSelection is part of settings

pull/1/head
Alex Beregszaszi 7 years ago
parent e1ce4a3055
commit 275adcfa8a
  1. 14
      src/app/compiler/compiler-input.js

@ -8,13 +8,13 @@ module.exports = (sources, opts) => {
optimizer: { optimizer: {
enabled: opts.optimize === true, enabled: opts.optimize === true,
runs: 500 runs: 500
} },
}, libraries: opts.libraries,
libraries: opts.libraries, outputSelection: {
outputSelection: { '*': {
'*': { '': [ 'legacyAST' ],
'': [ 'legacyAST' ], '*': [ 'abi', 'metadata', 'evm.legacyAssembly', 'evm.bytecode', 'evm.deployedBytecode', 'evm.methodIdentifiers', 'evm.gasEstimates' ]
'*': [ 'abi', 'metadata', 'evm.legacyAssembly', 'evm.bytecode', 'evm.deployedBytecode', 'evm.methodIdentifiers', 'evm.gasEstimates' ] }
} }
} }
}) })

Loading…
Cancel
Save