2.1.0 • Published 3 years ago
posthtml-when v2.1.0
posthtml-when
PostHTML plugin for conditional plugins.
Usage
var posthtml = require('posthtml');
var when = require('posthtml-when');
posthtml()
.use(when(conditional, plugin()));
PostHTML plugin for conditional plugins.
var posthtml = require('posthtml');
var when = require('posthtml-when');
posthtml()
.use(when(conditional, plugin()));