broccoli-null
v1.0.1
Published
Sometimes (but rarely), one wants to return a broccoli tree which does nothing. Rather then relying on private API, this plugins achieves this with public API.
Readme
broccoli-null 
Sometimes (but rarely), one wants to return a broccoli tree which does nothing. Rather then relying on private API, this plugins achieves this with public API.
It also ensures all NULL trees are the same;
yarn add broccoli-nullconst Null = require('broccoli-null');
const funnel = require('broccoli-funnel');
const merge = require('broccoli-merge-trees');
merge([
funnel(__dirname + '/some/folder'),
Null.NULL,
new Null()
]);Null.NULL === new Null() // => true