Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
12 lines
340 B
JavaScript
12 lines
340 B
JavaScript
const path = require('path');
|
|
const bre = require('@nomiclabs/buidler');
|
|
|
|
const { Compiler } = require('@nomiclabs/buidler/internal/solidity/compiler');
|
|
|
|
const compiler = new Compiler(
|
|
bre.config.solc.version,
|
|
path.join(bre.config.paths.cache, 'compilers'),
|
|
);
|
|
|
|
module.exports = Object.assign(compiler.getSolc(), { __esModule: true });
|