aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-10-06 13:13:47 +0200
committerRicardo Wurmus <rekado@elephly.net>2023-10-06 16:37:16 +0200
commit9d4339afb16af0f057b8a8afe8da443c33fb63e1 (patch)
tree5904e275b8d067e8f43462abbdccc3a6bf0860d1 /gnu
parentb19dfb9d3a78d020cd1c5d94f60e22702bf9a1e9 (diff)
downloadguix-9d4339afb16af0f057b8a8afe8da443c33fb63e1.tar
guix-9d4339afb16af0f057b8a8afe8da443c33fb63e1.tar.gz
build-system/minify: Use esbuild.
* guix/build-system/minify.scm (default-uglify-js): Replace this procedure... (default-esbuild): ...with this new procedure. (lower): Use it, and add "esbuild" to build inputs. * guix/build/minify-build-system.scm (minify): Invoke esbuild instead of setting up a pipe to uglifyjs. * gnu/packages/cran.scm (r-shiny)[native-inputs]: Replace node-uglify-js with esbuild. * gnu/packages/statistics.scm (r-dt)[native-inputs]: Same.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cran.scm2
-rw-r--r--gnu/packages/statistics.scm2
2 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 3e72a082ec..af5749b0d0 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -4591,7 +4591,7 @@ previewing themes in real time.")
(inputs
(list js-datatables js-selectize js-strftime js-highlight))
(native-inputs
- `(("uglifyjs" ,node-uglify-js)
+ `(("esbuild" ,esbuild)
("gfortran" ,gfortran)
("js-bootstrap-accessibility"
,(origin
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 61eec5ecd9..aa2094ecdb 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -4069,7 +4069,7 @@ using the multicore functionality of the parallel package.")
(list js-selectize))
(native-inputs
`(("r-knitr" ,r-knitr)
- ("uglifyjs" ,node-uglify-js)
+ ("esbuild" ,esbuild)
("datatables-plugins"
,(let ((version "1.13.4"))
(origin