Update lockfile (#2384)
Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
This commit is contained in:
11
scripts/prepare-docs-solc.js
Normal file
11
scripts/prepare-docs-solc.js
Normal file
@ -0,0 +1,11 @@
|
||||
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 });
|
||||
Reference in New Issue
Block a user