aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-02-22 23:19:36 +0100
committerRicardo Wurmus <rekado@elephly.net>2022-02-22 23:19:36 +0100
commitb04d2724f7434401b4311eee4ceb0e6d70033f83 (patch)
treeaced69670f0a46a2f20082f4848e48a2a246bf5c
parente7b4c0d85303e5f20e2bb30292109b88ba8fa379 (diff)
downloadguix-b04d2724f7434401b4311eee4ceb0e6d70033f83.tar.gz
guix-b04d2724f7434401b4311eee4ceb0e6d70033f83.zip
gnu: js-selectize: Minify different source file.
* gnu/packages/javascript.scm (js-selectize)[arguments]: Minify concatenated file.
-rw-r--r--gnu/packages/javascript.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm
index c453ac432a..779ffcb7b8 100644
--- a/gnu/packages/javascript.scm
+++ b/gnu/packages/javascript.scm
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
-;;; Copyright © 2017, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2017, 2019, 2020, 2022 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2017, 2018, 2020, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2018 Nicolas Goaziou <mail@nicolasgoaziou.fr>
@@ -592,7 +592,10 @@ Worker, but it can be used in other JavaScript environments.")
(base32
"15gichl8wi6yxag2ps723nxrgyan15976dzsnvw9h9py8sbyyzjn"))))
(build-system minify-build-system)
- (arguments `(#:javascript-files '("src/selectize.js")))
+ ;; We use the standalone file instead of src/selectize.js because the
+ ;; former includes the source code for MicroEvent and other modules that
+ ;; Selectize refers to.
+ (arguments `(#:javascript-files '("dist/js/standalone/selectize.js")))
(home-page "https://selectize.github.io/selectize.js/")
(synopsis "Hybrid widget between a textbox and <select> box")
(description "Selectize is the hybrid of a textbox and @code{<select>}