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>
This commit is contained in:
Owen Leonard 2026-04-14 11:07:39 +00:00 committed by Lucas Gass
parent a60b4e8389
commit 04ca348222
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
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",
],