cabbagejs / cabbage

A CLI for building conventional web applications with Broccoli
MIT License
5 stars 0 forks source link

make cabbage's user-concerned dependencies overridable #2

Open searls opened 9 years ago

searls commented 9 years ago

users may wish to upgrade some dependencies ahead of cabbage's own releases (e.g. a broccoli plugin adds a new option and cabbage isn't updated to include it)

basically, every place we require testem or a "broccoli-*" plugin we should first resolve off of process.cwd() (as we do when we load broccoli itself) and if resolution fails, fall back on built-in require resolution.