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.
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.