From de440e7fe13a9841b848edaea8d1a0a8bf484b93 Mon Sep 17 00:00:00 2001 From: Brandon Istenes Date: Tue, 3 May 2022 13:40:40 -0700 Subject: [PATCH] (chore) Use quietDeps option with SASS loader (#416) --- packages/shell/esm-app-shell/webpack.config.js | 5 ++++- packages/tooling/webpack-config/src/index.ts | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/packages/shell/esm-app-shell/webpack.config.js b/packages/shell/esm-app-shell/webpack.config.js index 740752930..6a5ff4e8f 100644 --- a/packages/shell/esm-app-shell/webpack.config.js +++ b/packages/shell/esm-app-shell/webpack.config.js @@ -142,7 +142,10 @@ module.exports = (env, argv = {}) => { ? { loader: require.resolve(MiniCssExtractPlugin.loader) } : { loader: require.resolve("style-loader") }, { loader: require.resolve("css-loader") }, - { loader: require.resolve("sass-loader") }, + { + loader: require.resolve("sass-loader"), + options: { sassOptions: { quietDeps: true } }, + }, ], }, { diff --git a/packages/tooling/webpack-config/src/index.ts b/packages/tooling/webpack-config/src/index.ts index c736521ed..d79fcca00 100644 --- a/packages/tooling/webpack-config/src/index.ts +++ b/packages/tooling/webpack-config/src/index.ts @@ -140,7 +140,10 @@ export default ( use: [ require.resolve("style-loader"), cssLoader, - { loader: require.resolve("sass-loader") }, + { + loader: require.resolve("sass-loader"), + options: { sassOptions: { quietDeps: true } }, + }, ], }, scssRuleConfig