From 43a44bf44cfb59f8205db81afeebb766dea2edb9 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Wed, 23 Apr 2025 12:10:47 +0300 Subject: [PATCH] chore(nx/client): supress bootstrap warnings --- apps/client/src/stylesheets/bootstrap.scss | 2 +- apps/client/webpack.config.js | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/client/src/stylesheets/bootstrap.scss b/apps/client/src/stylesheets/bootstrap.scss index 0761255ea..b30b929fe 100644 --- a/apps/client/src/stylesheets/bootstrap.scss +++ b/apps/client/src/stylesheets/bootstrap.scss @@ -1,2 +1,2 @@ /* Import all of Bootstrap's CSS */ -@import "bootstrap/scss/bootstrap"; +@use "bootstrap/scss/bootstrap"; diff --git a/apps/client/webpack.config.js b/apps/client/webpack.config.js index cfcfe231e..7ed6ff38d 100644 --- a/apps/client/webpack.config.js +++ b/apps/client/webpack.config.js @@ -48,6 +48,11 @@ module.exports = { "./src/libraries", ], styles: [], + stylePreprocessorOptions: { + sassOptions: { + quietDeps: true + } + }, outputHashing: process.env['NODE_ENV'] === 'production' ? 'all' : 'none', optimization: process.env['NODE_ENV'] === 'production', })