Minor questions on new module BNF
jason.orendorff at gmail.com
Tue Jun 4 09:52:30 PDT 2013
On Tue, Jun 4, 2013 at 11:44 AM, Jeff Morrison <lbljeffmo at gmail.com> wrote:
> FWIW this is what we have been doing at Facebook for a while now (over a
> year), and it's worked pretty well for us.
> We use a require() function for pulling in dependencies. We then
> statically extract all require() callsites for a given module during our
> build step, and use that to identify the dependency-graph of a file (for
> packaging, etc).
Thanks, this is a useful data point. Does your require() execute stuff
lazily, on demand? How much time does that save on startup (and are there
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss