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)
- Host: GitHub
- URL: https://github.com/ladjs/gulp-envify
- Owner: ladjs
- License: mit
- Created: 2020-07-04T19:01:24.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-04T19:08:36.000Z (over 5 years ago)
- Last Synced: 2025-02-01T13:46:04.889Z (11 months ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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'));
});
```