]> git.koha-community.org Git - koha.git/commit
Bug 32978: Replace node-sass with dart-sass
authorOwen Leonard <oleonard@myacpl.org>
Wed, 15 Feb 2023 17:36:57 +0000 (17:36 +0000)
committerJacob O'Mara <jacob.omara@ptfs-europe.com>
Fri, 24 Feb 2023 11:31:03 +0000 (11:31 +0000)
commite1e3ec13097f03258596301d45f7548194dbd6e6
tree409c07fd2f50038f87ef2eee897453ca4aea3846
parentc2916c36f1dbf2234badc98ce2e10de457d1a3f6
Bug 32978: Replace node-sass with dart-sass

'npm install' fails in ktd on aarch64, giving unsupported architecture error for node-sass.

This patch addresses this by replacing node-sass with dart-sass, updating our gulpfile
accordingly. Some corrections have been made to SCSS to fix warnings
raised during the build process.

Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
Works like a charm. Great work oleonard! Tested on Apple M1, e.g. aarch64.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Edit: I removed some useless formatting changes in the gulpfile, and the
yarn.lock changes as well.
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit e5b28d9c40cab651079eadc1b64d2479a34cbbeb)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
gulpfile.js
koha-tmpl/intranet-tmpl/prog/css/src/_flatpickr_vars.scss
koha-tmpl/opac-tmpl/bootstrap/css/src/_flatpickr_vars.scss
package.json