broccolijs / broccoli-funnel

MIT License
66 stars 37 forks source link

Update readme examples #108

Closed jrowlingson closed 5 years ago

jrowlingson commented 5 years ago

👋 I've taken a pass through the readme to update the examples to be consistent with the tutorial series. This includes no longer instantiating the plugins:

Note: You may see examples that use new funnel() as a way to create an instance of a plugin, however this is a practice that the Broccoli.js team are trying to move away from, with the intention being that Broccoli is like a functional programming language, where the input of one function is the output of another, to build up a "tree" structure.

Related https://github.com/broccolijs/broccoli-funnel/pull/18

rwjblue commented 5 years ago

Thank you!