Since bug 38426. Deprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. Deprecation Warning [color-functions]: saturate() is deprecated. Suggestions: Deprecation Warning [color-functions]: desaturate() is deprecated. Suggestions: Deprecation Warning [color-functions]: lighten() is deprecated. Suggestions: Deprecation Warning [color-functions]: darken() is deprecated. Suggestions: Deprecation Warning [color-functions]: red() is deprecated. Suggestion: Deprecation Warning [color-functions]: adjust-hue() is deprecated. Suggestion:
In KTD? I don't see any errors when I run 'yarn css:build' The '@import' warning, at least, is something we can't resolve until Bootstrap does.
Do you have a nodes_module folder in your koha root? If you remove that, you might see them (or with a yarn build as well)
Created attachment 191008 [details] [review] 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
Created attachment 191011 [details] [review] 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>