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 14:22:40 +0000 (15:22 +0100)
commitf5a69c5714345cf0bc4c0771c1baebbe06512eba
tree3bc81285dafd54aecf5802a53645306e171b333e
parentca6da9297dcac39839e2716ba4a35291db5fc441
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
package.json