diff options
author | Ricardo Wurmus <[email protected]> | 2022-02-22 23:19:36 +0100 |
---|---|---|
committer | Ricardo Wurmus <[email protected]> | 2022-02-22 23:19:36 +0100 |
commit | b04d2724f7434401b4311eee4ceb0e6d70033f83 (patch) | |
tree | aced69670f0a46a2f20082f4848e48a2a246bf5c | |
parent | e7b4c0d85303e5f20e2bb30292109b88ba8fa379 (diff) |
gnu: js-selectize: Minify different source file.
* gnu/packages/javascript.scm (js-selectize)[arguments]: Minify concatenated
file.
-rw-r--r-- | gnu/packages/javascript.scm | 7 |
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 <[email protected]> -;;; Copyright © 2017, 2019, 2020 Ricardo Wurmus <[email protected]> +;;; Copyright © 2017, 2019, 2020, 2022 Ricardo Wurmus <[email protected]> ;;; Copyright © 2017, 2018, 2020, 2021 Tobias Geerinckx-Rice <[email protected]> ;;; Copyright © 2017, 2018, 2019, 2020 Efraim Flashner <[email protected]> ;;; Copyright © 2018 Nicolas Goaziou <[email protected]> @@ -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>} |