From f2a3ac796a8f0583b771918ed999ad0c690f5dbe Mon Sep 17 00:00:00 2001 From: Alex Szabo Date: Wed, 25 Jun 2025 09:28:35 +0200 Subject: [PATCH] [ci] Silence SASS warnings (#225061) ## Summary Silences SASS module usage warnings around the deprecated `@import` statements. While the sass/scss owner teams are migrating these usages, the dev server is clogged up with deprecation warnings. It's probably best to disable it, because it's annoying to everyone and not necessarily to the owners. --- packages/kbn-optimizer/src/worker/webpack.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/kbn-optimizer/src/worker/webpack.config.ts b/packages/kbn-optimizer/src/worker/webpack.config.ts index 976ff5c52e7c..882138e32ffb 100644 --- a/packages/kbn-optimizer/src/worker/webpack.config.ts +++ b/packages/kbn-optimizer/src/worker/webpack.config.ts @@ -224,6 +224,7 @@ export function getWebpackConfig( includePaths: [Path.resolve(worker.repoRoot, 'node_modules')], sourceMap: true, quietDeps: true, + silenceDeprecations: ['import', 'legacy-js-api'], }, }, },