From 20837d383735d6f7d8a68d6277f09a891a3870a0 Mon Sep 17 00:00:00 2001 From: Ashley Harrison Date: Fri, 15 Nov 2024 10:18:58 +0000 Subject: [PATCH] Chore: silence sass warnings since we're going to remove sass anyway (#96530) silence sass warnings since we're going to remove sass anyway --- scripts/webpack/sass.rule.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/webpack/sass.rule.js b/scripts/webpack/sass.rule.js index 7843e15749a..9ca29cde4af 100644 --- a/scripts/webpack/sass.rule.js +++ b/scripts/webpack/sass.rule.js @@ -34,6 +34,10 @@ module.exports = function (options) { loader: 'sass-loader', options: { sourceMap: options.sourceMap, + sassOptions: { + // silencing these warnings since we're planning to remove sass when angular is gone + silenceDeprecations: ['import', 'global-builtin'], + }, }, }, ],