megawac / lodash-modularize

Generate modular lodash builds through static analysis.
MIT License
40 stars 1 forks source link

support for coffeescript files? #7

Open gingerlime opened 9 years ago

gingerlime commented 9 years ago

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

megawac commented 9 years ago

Could work reasonably well if theres a library that can parse coffeescript into a estree compatible AST

I'd have to dig into it


Doesn't seem possible https://twitter.com/GraemeYeates/status/607956987389820928

gingerlime commented 9 years ago

Sorry if this is a dumb question, but why not just compile it to javascript and then run it over the compiled javascript?