yarn-plugin-dotenv

A Yarn 2 plugin to initialize all your scripts with dotenv

MIT License

Stars
12

yarn-plugin-dotenv

A Yarn 2+ (Berry) plugin to initialize all your scripts with dotenv

Installation

yarn plugin import https://unpkg.com/yarn-plugin-dotenv/bundles/@yarnpkg/plugin-dotenv.js

Usage

  • Place a .env file with environment variable KEY=VALUE pairs in your project directory.
  • Run any of your package scripts, e.g. yarn run build.