gulp-tachi
product improvement
as manufacturing samurai sword
required years
Allows conveniently split up your code for AB testing
Usage
Install:
npm install --save gulp-tachi
Gulpfile:
var abTest = ; gulp;
Run:
gulp watch --test=A
Examples:
main.styl
source:
// @if TEST='A'float left// @endif // @if TEST='B'float right// @endif
Run:
gulp watch --test=A
compile:
float left
index.html
source:
<!-- @if TEST='A' --> Tittle for A test <!-- @endif --> <!-- @if TEST='B' --> Tittle for B test <!-- @endif -->
Run:
gulp watch --test=B
compile:
Tittle for B test