@hairy/lnv
v1.0.2
Published
load next custom env
Downloads
4
Readme
@hairy/lnv
loading custom env in next.js is very cumbersome, so
Installation
# with pnpm
pnpm add @hairy/lnv
# with yarn
yarn add @hairy/lnv
Modify scripts
{
"scripts": {
"dev:staging": "lnv staging && next dev"
}
}
it just copies the copy .env.{mode} to .env