This commit is contained in:
parent
aff7031a2f
commit
bb7dcc42b8
|
@ -2,7 +2,9 @@ import { HardhatUserConfig } from "hardhat/config";
|
|||
import "@nomicfoundation/hardhat-toolbox";
|
||||
import "hardhat-contract-sizer";
|
||||
import dotenv from "dotenv";
|
||||
dotenv.config({ path: `.env.${process.env.NODE_ENV || "local"}` });
|
||||
|
||||
const env = process.env.NODE_ENV || "local";
|
||||
dotenv.config({ path: `.env.${env}` });
|
||||
|
||||
const config: HardhatUserConfig = {
|
||||
solidity: {
|
||||
|
|
Loading…
Reference in New Issue