lodash-modularize icon indicating copy to clipboard operation
lodash-modularize copied to clipboard

Generate modular lodash builds through static analysis.

Results 6 lodash-modularize issues
Sort by recently updated
recently updated
newest added

Hi there, I'm trying to work out exactly which lodash modules we're using on the guardian, but running `lodash-modularize ./**/*.js --list` i get the following error: ``` Unhandled rejection TypeError:...

bug

Support converting ``` js 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

Discussed this a bit in gitter a bit a while ago. Not sure the best path here, e.g. convert ``` js require('lodash-fp) -> require('lodash-fp/convert')('./lib/lodash) ``` However, this runs into difficulties...

enhancement

lodash-modularize looks great. I'm wondering if it can support coffeescript files (maybe via an auto-compile step)?

enhancement

``` js (function (root, factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module. define(['exports', 'lodash'], factory); } else if (typeof exports ===...

Esp. important for globals

bug
enhancement