Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.

jeysal/yarn-plugin-dotenv

Repository files navigation

yarn-plugin-dotenv

NOTE: This plugin has become obsolete, use Yarn builtin injectEnvironmentFiles instead.

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.

About

A Yarn 2 plugin to initialize all your scripts with dotenv

Resources

License

Stars

Watchers

Forks

Packages

No packages published