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

Previous Next

Package: guix-patches;

Reported by: Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>

Date: Thu, 22 Jun 2017 15:21:02 UTC

Severity: normal

Tags: patch

Done: Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 27449-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>
Cc: 27449-done <at> debbugs.gnu.org
Subject: Re: [bug#27449] [PATCH] gnu: Add js-respond.
Date: Fri, 23 Jun 2017 11:33:51 +0200
Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de> 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?

Ludo’.





This bug report was last modified 7 years and 341 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.