A Yarn 2+ (Berry) plugin to initialize all your scripts with
dotenv
yarn plugin import https://unpkg.com/yarn-plugin-dotenv/bundles/@yarnpkg/plugin-dotenv.js
- Place a
.env
file with environment variableKEY=VALUE
pairs in your project directory. - Run any of your package scripts, e.g.
yarn run build
.