babel-plugin-inline-environment-variables

Inline environment variables

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
babel-plugin-inline-environment-variables
1.0.17 years ago7 years agoMinified + gzip package size for babel-plugin-inline-environment-variables in KB

Readme

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"]
});