Bugzilla – Attachment 191011 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.12 KB, created by
David Nind
on 2026-01-07 19:09:22 UTC
(
hide
)
Description:
Bug 41327: Silence Sass deprecation warnings
Filename:
MIME Type:
Creator:
David Nind
Created:
2026-01-07 19:09:22 UTC
Size:
1.12 KB
patch
obsolete
>From ce48e1708f0e4f49732bc3e42dd926d7480e9640 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 >Signed-off-by: David Nind <david@davidnind.com> >--- > gulpfile.js | 6 ++++++ > 1 file changed, 6 insertions(+) > >diff --git a/gulpfile.js b/gulpfile.js >index 46375e5838..b743fe1a33 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