michaelficarra / commonjs-everywhere

:rainbow: minimal CommonJS browser bundler with aliasing, extensibility, and source maps
BSD 3-Clause "New" or "Revised" License
158 stars 21 forks source link

Non-core requires can also be aliased #82

Closed jesstelford closed 10 years ago

michaelficarra commented 11 years ago

Can you include a failing test case so I can understand what you're actually trying to fix?

tilgovi commented 10 years ago

It looks like this would allow aliasing without actually having the referenced file present. However, I'm not sure how useful it is, since I don't see a way for such a library to be included later in a way that it can be required by the bundled code.