joliss / broccoli-env

Get the Broccoli build environment from BROCCOLI_ENV

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

broccoli-env

Get the environment (development or production) from the BROCCOLI_ENV environment variable.

Installation

npm install --save-dev broccoli-env

Usage

var env = require('broccoli-env').getEnv();
console.log(env) // => 'development' or 'production'

About

Get the Broccoli build environment from BROCCOLI_ENV

License:MIT License


Languages

Language:JavaScript 100.0%