This commit is contained in:
parent
aff7031a2f
commit
bb7dcc42b8
|
@ -2,7 +2,9 @@ import { HardhatUserConfig } from "hardhat/config";
|
||||||
import "@nomicfoundation/hardhat-toolbox";
|
import "@nomicfoundation/hardhat-toolbox";
|
||||||
import "hardhat-contract-sizer";
|
import "hardhat-contract-sizer";
|
||||||
import dotenv from "dotenv";
|
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 = {
|
const config: HardhatUserConfig = {
|
||||||
solidity: {
|
solidity: {
|
||||||
|
|
Loading…
Reference in New Issue