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: 5 months 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 (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-05-26T01:53:40.000Z (about 10 years ago)
- Last Synced: 2025-01-20T16:07:38.807Z (6 months 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 [](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)