diff --git a/contracts/Makefile b/contracts/Makefile index ab02e1c4..ffd6cf56 100644 --- a/contracts/Makefile +++ b/contracts/Makefile @@ -3,6 +3,7 @@ compile: pnpm run build +force-compile: export TS_NODE_TRANSPILE_ONLY := 1 force-compile: npx hardhat compile --force diff --git a/contracts/package.json b/contracts/package.json index 4f54b512..cb62ca13 100644 --- a/contracts/package.json +++ b/contracts/package.json @@ -5,7 +5,7 @@ "pnpm": ">=9" }, "scripts": { - "build": "npx hardhat compile", + "build": "TS_NODE_TRANSPILE_ONLY=1 npx hardhat compile", "test": "npm run autoupdate && npx hardhat test", "test:reportgas": "REPORT_GAS=true npx hardhat test", "coverage": "npm run autoupdate && npx hardhat coverage --solcoverjs ./.solcover.js",