]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 8 Nov 2023 13:06:42 +0000 (14:06 +0100)
commite4da7036e05a0e294c8f6eb1868aff1c5da6ebc6
tree34995969d5a61cadef4af8a9486e1981b532fd0d
parent93a118f432d26577742ea9d9e90aef35ff48a92d
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>
gulpfile.js
koha-tmpl/intranet-tmpl/prog/css/src/_flatpickr_vars.scss
koha-tmpl/opac-tmpl/bootstrap/css/src/_flatpickr_vars.scss
package.json