mirror of openzeppelin-contracts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openzeppelin-contracts/scripts/prepare-docs-solc.js

12 lines
340 B

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 });