gulp-inject-string
Inject snippets in build
Methods
// Appends the string // Prepends the string // Wraps file contents in between *start* and *end* // Inserts the string before the first occurence of *search* // Inserts the string after the first occurence of *search* // Inserts the string before each occurence of *search* // Inserts the string after each occurence of *search* // Replaces each occurence of *search* with *str*
Examples
See examples/build for output.
var gulp = rename = inject = ; gulp; gulp; gulp; gulp; gulp; gulp; gulp; gulp; gulp;
Changes
v1.1.1 - 2018-01-09
- Removed gulp-util dependency. Thanks TheDancingCode
v1.1.0 - 2015-12-17
- Added
replace
. Thanks alexweber. - Realised that as soon as you say something is complete and will not need to change... someone will think of something else it should do.
v1.0.0 - 2015-11-08
- Added beforeEach and afterEach. Thanks Joachim.
After a year with no changes or issues, this might as well be a 1.0. It will probably never change again.