Bug 41327: Silence Sass deprecation warnings

Some warning are about issue we can address (legacy-js-api for
instance), and others we have to wait to be fixed in Bootstrap
(color-functions, global-builtin).

For now I think we should silence these warnings.

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: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Owen Leonard 2026-01-07 12:52:22 -05:00 committed by Lucas Gass
parent f21255ca54
commit 48960e09b0
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
1 changed files with 6 additions and 0 deletions

View File

@ -32,6 +32,12 @@ var CSS_BASE = args.view == "opac" ? OPAC_CSS_BASE : STAFF_CSS_BASE;
var sassOptions = {
importer: tildeImporter,
silenceDeprecations: [
"color-functions",
"global-builtin",
"import",
"legacy-js-api",
],
includePaths: [__dirname + "/node_modules", __dirname + "/../node_modules"],
};