Honestly, this seems pretty fragile - mutating undocumented parts of browserify. Perhaps @substack knows a cleaner way of accomplishing this?