Bug 32978: Replace node-sass with dart-sass
authorOwen Leonard <oleonard@myacpl.org>
Wed, 15 Feb 2023 17:36:57 +0000 (17:36 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 22 Feb 2023 13:03:39 +0000 (10:03 -0300)
commite5b28d9c40cab651079eadc1b64d2479a34cbbeb
treeccba08450fe5228333387222d3d3292d31d1bed0
parent98eca9807f4f1ae6b5e4f162d399cbe305b848ed
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