From 72bedcdf0cc18c8e0f62d05f0838447cf93afda5 Mon Sep 17 00:00:00 2001 From: Mikhail Melnik Date: Sat, 8 Oct 2022 11:17:05 +0400 Subject: [PATCH] fix build --- src/profileEVM.ts | 1 + src/utils.ts | 1 + tsconfig.publish.json | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/profileEVM.ts b/src/profileEVM.ts index d086d421..0fdedb7b 100644 --- a/src/profileEVM.ts +++ b/src/profileEVM.ts @@ -1,4 +1,5 @@ import { PathLike, promises as fs } from 'fs'; +// @ts-ignore import { ethers } from 'hardhat'; export const gasspectOptionsDefault = { diff --git a/src/utils.ts b/src/utils.ts index 9516f2a4..617cc964 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -1,5 +1,6 @@ import { constants } from './prelude'; import { time } from '@nomicfoundation/hardhat-network-helpers'; +// @ts-ignore import { ethers } from 'hardhat'; import { Contract, Bytes, ContractTransaction } from 'ethers'; import { SignerWithAddress } from '@nomiclabs/hardhat-ethers/signers'; diff --git a/tsconfig.publish.json b/tsconfig.publish.json index b9111140..8d405d46 100644 --- a/tsconfig.publish.json +++ b/tsconfig.publish.json @@ -1,4 +1,4 @@ { "extends": "./tsconfig", - "exclude": ["./test", "./dist"] + "exclude": ["./test", "./hardhat.*", "./dist", "./typechain-types"] }