An open API service indexing awesome lists of open source software.

https://github.com/ladjs/gulp-envify

Gulp plugin for envify without browserify (maintained fork of https://github.com/tomashanacek/gulp-envify)
https://github.com/ladjs/gulp-envify

Last synced: 11 months ago
JSON representation

Gulp plugin for envify without browserify (maintained fork of https://github.com/tomashanacek/gulp-envify)

Awesome Lists containing this project

README

          

# gulp-envify

> Gulp plugin for envify without browserify

## Installation

```
npm install --save-dev gulp-envify
```

## Usage

```javascript
var envify = require('gulp-envify');

var environment = {
NODE_ENV: 'production'
};

gulp.task('compress', function() {
return gulp.src('lib/*.js')
.pipe(envify(environment))
.pipe(gulp.dest('dist'));
});
```