[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#27449] [PATCH] gnu: Add js-respond.

From: Ludovic Courtès
Subject: [bug#27449] [PATCH] gnu: Add js-respond.
Date: Fri, 23 Jun 2017 11:33:51 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Ricardo Wurmus <address@hidden> skribis:

> This is a simplified version of what js-mathjax does, so that seems like
> a good template for minifying JavaScript files.  I’m just not sure how
> to generalise this, because projects don’t always put all their
> unminified .js files in a single directory and we can’t just minify all
> .js files, because
>   a) they might already be minified,
>   b) they might require compilation / concatenation.
> Maybe we should wait until we have some more experience with how other
> JS projects handle this.  I’m going to package a few more JS things for
> r-shiny; if a pattern should pop up I’m going to poor it into a build
> system.

If we can’t come up with a full build system, perhaps a (guix build
javascript) module could at least provide a ‘minify’ procedure that
invokes uglify, or something like that?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]