Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stevemao/gulp-simple-preprocess
Preprocess html, js and css based off environment configuration
https://github.com/stevemao/gulp-simple-preprocess
Last synced: 21 days ago
JSON representation
Preprocess html, js and css based off environment configuration
- Host: GitHub
- URL: https://github.com/stevemao/gulp-simple-preprocess
- Owner: stevemao
- Created: 2015-05-26T01:48:37.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-05-26T01:53:40.000Z (over 9 years ago)
- Last Synced: 2024-12-08T01:19:42.797Z (about 1 month ago)
- Language: JavaScript
- Size: 125 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# gulp-simple-preprocess [![Build Status](https://travis-ci.org/stevemao/gulp-simple-preprocess.svg?branch=master)](https://travis-ci.org/stevemao/gulp-simple-preprocess)
> Preprocess html, js and css based off environment configuration with [simple-preprocess](https://github.com/stevemao/simple-preprocess)
*Issues with the output should be reported on the simple-preprocess [issue tracker](https://github.com/stevemao/simple-preprocess/issues).*
## Install
```
$ npm install --save-dev gulp-simple-preprocess
```## Usage
```js
var gulp = require('gulp');
var simplePreprocess = require('gulp-simple-preprocess');gulp.task('default', function () {
return gulp.src('src/*.html')
.pipe(simplePreprocess({
env: 'prod'
}))
.pipe(gulp.dest('dist'));
});
```## License
MIT © [Steve Mao](https://github.com/stevemao)