webmake looks good, but I cannot get it to simply leave require( 'vs' ) and
require( 'vm' ) native node include as they are.

BTW: broserify runs into similar problems it is made for the browser. For
example it will choke on process.exit( ).

PS: Why am I doing this? I'm auto-generating some parts of my code and now
want to rewrite the generator also to use generated code. This leaves me a
chicken-egg problem and thats why I want to merge a working generator into
one js file for safekeeping.


On Sun, Mar 2, 2014 at 2:34 PM, Mariusz Nowak <[email protected]> wrote:

> Any bundle, produced with good CJS bundler, should be runnable also on
> server side, as e.g. `node bundle.js`,  For sure it does with Webmake (I'm
> the author) -> https://github.com/medikoo/modules-webmake#modules-webmake
>
> Do you know of a tool that takes a js file as entry point and bundles all
>> require()d modules into one big js file? On browser side I can simply run
>> all js files through uglify and get one big thing to include. Has someone
>> already done this for server side?
>>
>  --
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to