Broccoli plugin to replace on token with another (require => __dereq__).
npm install broccoli-derequire
Uses derequire to replace all occurances of a given token with another (require with _dereq_ by default).
``bash`
npm install --save-dev broccoli-derequire
`javascript`
var derequire = require('broccoli-derequire');
---
options.patterns {Array}
A list of objects with from and to properties.
---
options.pattern {Object}
A single pattern with from and to properties.
I know, right?
Running the tests:
`javascript``
npm install
npm test
This project is distributed under the MIT license.