gulp-delete-lines
A gulp plugin that will delete all lines that matches one of the given regex filters.
Notes
With respect to Rolf Erik Lekangs work but now with minor bug fixes.
Install
Install with npm
npm install --save-dev gulp-delete-lines
Examples
Our index.html file:
Our App markup goes here...
Example 1: Removes all script tags in index.html
var gulp = ;var deleteLines = ; gulp;
Example 2: Removes all style tags in index.html
var gulp = ;var deleteLines = ; gulp;
License
MIT © Carsten Schaefer