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.

MIT 2 个版本
安装
npm install broccoli-null
yarn add broccoli-null
pnpm add broccoli-null
bun add broccoli-null
README

broccoli-null Build Status

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-null
const 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
版本列表
1.0.1 2018-08-23
1.0.0 2018-08-23