Install
npm i next-env-vars
Usage
const withEnv = envFiles: '.env' moduleexports =
Then in your app you can use process.env.VARNAME and it will be populated at build time (only the env vars used)
npm i next-env-vars
const withEnv = envFiles: '.env' moduleexports =
Then in your app you can use process.env.VARNAME and it will be populated at build time (only the env vars used)
npm i next-env-vars
0
1.0.2
ISC
2.68 kB
6