Bug 42356: Silence Sass if-function deprecation warning

Like Bug 41327, deprecation warnings about Bootstrap SCSS should be
silenced with the assumption that a future version of Bootstrap will
correct the problems. In this case the warning is:

Deprecation Warning [if-function]: The Sass if() syntax is deprecated in
favor of the modern CSS syntax.

To test, apply the patch and run 'yarn build.' There should be no
warnings.

Sponsored-by: Athens County Public Libraries
Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 04ca348222)
Signed-off-by: Jacob O'Mara <Jacob.omara@openfifth.co.uk>
This commit is contained in:
Owen Leonard 2026-04-14 11:07:39 +00:00 committed by Jacob O'Mara
parent b89d154c85
commit 8f2e2d705e
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ var sassOptions = {
silenceDeprecations: [
"color-functions",
"global-builtin",
"if-function",
"import",
"legacy-js-api",
],