babel-plugin-inline-dotenv

v1.7.0
Load your `.env` file and replace `process.env.MY_VARIABLE` with the value you set.
babel plugin dotenv

test

EXAMPLE_ENV_VAR_SYSTEM=system EXAMPLE_ENV_VAR_SECRET=secret mocha --require @babel/register

test:watch

npm run test -- --watch
npm i babel-plugin-inline-dotenv

Metadata

  • ISC
  • Whatever
  • Bryan Goldstein
  • released 3/28/2022

Downloads

Maintainers