gulp-processhtml
Gulp plugin uses Denis Ciccale's node-htmlprocessor to process/transform html files.
- npm:
npm install gulp-processhtml --save-dev
Gulpfile
var gulp = processhtml = opts = /* plugin options */ ; gulp;
Example Usage
You might need to change some attributes in your html, when you're releasing for a different environment.
Using this plugin, you can transform this:
<!-- build:css style.min.css --> <!-- /build --> <!-- build:js app.min.js --> <!-- /build --> <!-- build:remove --> <!-- /build --> <!-- build:replace 'Goodbye Livereload...' --> <!-- /build -->
To this:
Goodbye Livereload...