Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hairyf/lnv


https://github.com/hairyf/lnv

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# @hairy/lnv

loading custom env in next.js is very cumbersome, so

## Installation

```sh
# with pnpm
pnpm add @hairy/lnv

# with yarn
yarn add @hairy/lnv
```

## Modify scripts

```json
{
"scripts": {
"dev:staging": "lnv staging && next dev"
}
}
```

> it just copies the copy .env.{mode} to .env