Concerning webmake:
I see that I can easily implement jslint/hinting with webmake, but I can
online parse the concatenated source, getting line numbers out of that
file is pretty useless. So I need another hook/event that gets called
for each file processed.
Also I ran into some dependency resolving issues.
>webmake src/browser.js public/browser.js
in src/submodule/foo.js (required by browser.js):
>require("../../lib/someLib")
Produces:
>Error: Require out of package root scope
This is because I have my entry file in a subfolder (?).
On the TODOlist you have
> Right dependency parsing (probably with help of UglifyJS)
What does that mean?
Am 10.02.2012 01:59, schrieb Phoscur:
> Looks good! I'll give it a try!
>
> Am 10.02.2012 00:21, schrieb Mariusz Nowak:
>> @Phoscur, give modules-webmake
>> <https://github.com/medikoo/modules-webmake> a try, with plain
>> written requires it will just work (no matter if it's same or
>> external package module), it also has the smallest footprint from all
>> similar tools I know.
>>
>> At this moment it won't jslint or minify your files but this can be
>> easily configured to be done aside.
>> It also won't watch file for changes yet (this is in the works) but
>> it's fast enough to work as binded directly to server. Currently I
>> work with application that's build of over 200 modules from about
>> dozen of different packages and build time for that is about 1
>> second. I find that acceptable for development, but surely I look
>> forward to efficient file caching, then build time won't
>> be noticeable at all.
>>
>> From what you're saying you're exactly after what I was about year
>> ago, I was then very surprised that no solid tool exists. Let me know
>> your thoughts.
>> --
>> 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
> --
> 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
--
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