Skip to content

Commit

Permalink
fix: prevent display log of sass loader warnings (#5004)
Browse files Browse the repository at this point in the history
  • Loading branch information
romainseb authored Nov 28, 2023
1 parent 0e6c82e commit db24625
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/flat-maps-dream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@talend/scripts-config-react-webpack': patch
---

fix: prevent display log of lot of warnings related to sass loader
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,13 @@ function getSassLoaders(enableModules, sassData, isEnvDevelopmentServe) {
{ loader: require.resolve('resolve-url-loader'), options: { sourceMap } },
{
loader: require.resolve('sass-loader'),
options: { sourceMap, additionalData: sassData },
options: {
sourceMap,
additionalData: sassData,
sassOptions: {
quietDeps: true,
},
},
},
);
}
Expand Down

0 comments on commit db24625

Please sign in to comment.