properly supporting module.parent is probably not possible, since the module that required the current module is executed after the current one, so we don't have a reference to the "parent" module yet.
Maybe when module.parent is used in if checks and other boolean contexts, browser-pack-flat could replace it with true. Or replace it with an empty object in all contexts.
this is done as of #17
properly supporting module.parent is probably not possible, since the module that
required the current module is executed after the current one, so we don't have a reference to the "parent" module yet.Maybe when
module.parentis used in if checks and other boolean contexts, browser-pack-flat could replace it withtrue. Or replace it with an empty object in all contexts.this is done as of #17