In the Node policy[1], point 5, it says

"*should* generate a *libjs-foo* binary package if the script is usable
also for web-broser (see Javascript/Policy
<> for more info) "

Many Node packages specify something like a "browser" variation of their
script in package.json.  E.g. node-debug has this browser.js file:

Should that file go as-is into a libjs-foo package (e.g. libjs-debug)?

Or should it first be passed through browserify(-lite)?

Or is the libjs-foo concept only for things which are completely
standalone, e.g. not containing any require() directives?


Pkg-javascript-devel mailing list

Reply via email to