README.md 487 Bytes

babel-plugin-inline-environment-variables

Inline environment variables

Installation

$ npm install babel-plugin-inline-environment-variables

Usage

Via .babelrc (Recommended)

.babelrc

{
  "plugins": ["inline-environment-variables"]
}

Via CLI

$ babel --plugins inline-environment-variables script.js

Via Node API

require("babel-core").transform("code", {
  plugins: ["inline-environment-variables"]
});