[Pkg-javascript-devel] browserify-lite

Andrew Kelley superjoe30 at gmail.com
Fri Oct 3 08:06:12 UTC 2014


On Oct 2, 2014 11:49 PM, "Jérémy Lal" <kapouer at melix.org> wrote:
>
> Le jeudi 02 octobre 2014 à 20:57 -0700, Andrew Kelley a écrit :
> > To provide a possible alternative for upstream projects which depend on
> > browserify, which is a heavy dependency dragging many things along with
it,
> > I have created a module called browserify-lite:
> >
> > https://github.com/andrewrk/browserify-lite
> >
> > My question, should I package this module for Debian? Or is it *too*
> > "lite"? :-)
> >
> > Groove Basin already depends on it for its build system:
> >
https://github.com/andrewrk/groovebasin/commit/174af756e1dc2ca148e10a8848fb7db83b100378
>
> Great !
> What modifications are required to port a build script using browserify
> to browserify-lite ?

It depends on how complicated the usage of browserify is. If it is very
simple, then it might make sense to use browserify-lite, anything even
slightly advanced and we would be better off packaging the real browserify.

Anything in particular you're interested in?

> Would it be better to use uglifyjs ast parser ?

Possibly. The tokenizer I coded up should probably be fine, but maybe since
we already have uglifyjs packaged it would make sense to use that.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20141003/791db9d8/attachment.html>


More information about the Pkg-javascript-devel mailing list