joliss/broccoli — pull request #91 by frekw (2014-04-07 13:01:38+00:00)
Title: Fixes a bug where modules with main and lib set would get included twice

This happened because bower modules with an explicit `"main"` entry
always get added. If the bower module also happens to have a `"lib"`
folder, its files would get included twice resulting in a crash in
`fs.writeFileSync`.

See https://github.com/gf3/moment-range for an example of a crashing
dependency.