1.0.2 • Published 1 year ago
@hairy/lnv v1.0.2
@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