Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hairyf/lnv
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/hairyf/lnv
- Owner: hairyf
- Created: 2024-01-28T07:30:03.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-03-08T09:34:12.000Z (10 months ago)
- Last Synced: 2024-10-03T08:21:01.521Z (3 months ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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