Skip to content

Commit

Permalink
(chore) Use quietDeps option with SASS loader (#416)
Browse files Browse the repository at this point in the history
  • Loading branch information
brandones authored May 3, 2022
1 parent 140b951 commit de440e7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion packages/shell/esm-app-shell/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 } },
},
],
},
{
Expand Down
5 changes: 4 additions & 1 deletion packages/tooling/webpack-config/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit de440e7

Please sign in to comment.