Skip to content

Commit

Permalink
docs: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tianyingchun committed Aug 6, 2024
1 parent 949c0b5 commit 9ae0d20
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,3 +285,11 @@ packages.json
```json
"next-runtime-env": "^3.2.2",
```

### Note Environment Variables of next.js

next.js Bundling Environment Variables for the Browser at build time

- https://nextjs.org/docs/pages/building-your-application/configuring/environment-variables
- hyper-env only attach Environment Variables on `processs.env`
- we need to expose runtime env variables via `next-runtime-env`, otherwise we can not correct use these env variables in browser

0 comments on commit 9ae0d20

Please sign in to comment.