Bugzilla – Attachment 191008 Details for
Bug 41327
`yarn css:build` generates several warnings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41327: Silence Sass deprecation warnings
Bug-41327-Silence-Sass-deprecation-warnings.patch (text/plain), 1.07 KB, created by
Owen Leonard
on 2026-01-07 18:02:17 UTC
(
hide
)
Description:
Bug 41327: Silence Sass deprecation warnings
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2026-01-07 18:02:17 UTC
Size:
1.07 KB
patch
obsolete
>From ccf160e8f74b02bf626aa6443876fda38af09755 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 41327
:
191008
|
191011