brunch / deppack

Extract node modules to browser.
MIT License
4 stars 13 forks source link

Browser override handling #5

Closed goshacmd closed 8 years ago

goshacmd commented 8 years ago

As reported in https://github.com/brunch/brunch/issues/1259

Local file overrides with false values should not register a module, however when required, instead of raising they should simply return an empty object, pretty much like module overrides already work.

Additionally, this PR includes handling of cases when the specified main file cannot be found, which falls back to index.js and prints a warning.