From ccf160e8f74b02bf626aa6443876fda38af09755 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 7 Jan 2026 12:52:22 -0500 Subject: [PATCH] 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 --- gulpfile.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gulpfile.js b/gulpfile.js index 46375e58387..b743fe1a330 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -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"], }; -- 2.39.5