From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47694) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dOKzb-0002NO-Dc for guix-patches@gnu.org; Fri, 23 Jun 2017 05:35:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dOKzW-0003Dr-DQ for guix-patches@gnu.org; Fri, 23 Jun 2017 05:35:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:59436) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dOKzW-0003D6-AR for guix-patches@gnu.org; Fri, 23 Jun 2017 05:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dOKzV-0002I2-UM for guix-patches@gnu.org; Fri, 23 Jun 2017 05:35:01 -0400 Subject: [bug#27449] [PATCH] gnu: Add js-respond. Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) In-Reply-To: <87k2431ayd.fsf@mdc-berlin.de> (Ricardo Wurmus's message of "Fri, 23 Jun 2017 08:20:58 +0200") References: <20170622151939.16572-1-ricardo.wurmus@mdc-berlin.de> <87a850c86b.fsf@gnu.org> <87k2431ayd.fsf@mdc-berlin.de> Date: Fri, 23 Jun 2017 11:33:51 +0200 Message-ID: <87k243aw00.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ricardo Wurmus Cc: 27449-done@debbugs.gnu.org Ricardo Wurmus skribis: > This is a simplified version of what js-mathjax does, so that seems like > a good template for minifying JavaScript files. I=E2=80=99m just not sur= e how > to generalise this, because projects don=E2=80=99t always put all their > unminified .js files in a single directory and we can=E2=80=99t just mini= fy 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=E2=80=99m going to package a few more JS thin= gs for > r-shiny; if a pattern should pop up I=E2=80=99m going to poor it into a b= uild > system. If we can=E2=80=99t come up with a full build system, perhaps a (guix build javascript) module could at least provide a =E2=80=98minify=E2=80=99 proced= ure that invokes uglify, or something like that? Ludo=E2=80=99.