On Jul 28, 2013, at 22:29, Azer Koçulu wrote:

> You can require JSON files; require('package.json') I'm not sure if
> browserify supports it, but OneJS does…

In browserify, things that are require()d are copied verbatim into the final 
file. I don't want these text files to be included in my library file. Rather, 
I want them to be dynamically loaded, from their original locations, as needed. 
Some of these files are large lookup tables that are only needed occasionally. 
Others are files the user supplies to the library which I don't know about in 
advance.


-- 
-- 
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