lodash-modularize
lodash-modularize copied to clipboard
Support variable thrashing
Support converting
var lodash = require('lodash');
lodash.map(x, y);
// ====>
var _map = require('lodash/collections/map');
_map(x, y);
Could be useful for a babel or browserify transform
Probably makes sense to do this as a babel transform looking at some other babel transforms