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: {
enabled: opts.optimize === true,
runs: 500
}
},
libraries: opts.libraries,
outputSelection: {
'*': {
'': [ 'legacyAST' ],
'*': [ 'abi', 'metadata', 'evm.legacyAssembly', 'evm.bytecode', 'evm.deployedBytecode', 'evm.methodIdentifiers', 'evm.gasEstimates' ]
},
libraries: opts.libraries,
outputSelection: {
'*': {
'': [ 'legacyAST' ],
'*': [ 'abi', 'metadata', 'evm.legacyAssembly', 'evm.bytecode', 'evm.deployedBytecode', 'evm.methodIdentifiers', 'evm.gasEstimates' ]
}
}
}
})

Loading…
Cancel
Save