Skip to content

Commit

Permalink
chore: silence sass mixed decl warnings
Browse files Browse the repository at this point in the history
* bootstrap package currently produces deprecation warning
* fix in v5.3.4

Signed-off-by: eXhumer <[email protected]>
  • Loading branch information
eXhumer committed Aug 21, 2024
1 parent 7c9b3ed commit 2e48abe
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion webpack/renderer.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,28 @@ rules.push({
},
{
loader: 'sass-loader',
options: {
api: 'modern',
sassOptions: {
silenceDeprecations: ['mixed-decls'],
},
},
},
],
},
{
use: ['style-loader', 'css-loader', 'sass-loader'],
use: [
'style-loader',
'css-loader',
{
loader: 'sass-loader',
options: {
api: 'modern',
sassOptions: {
silenceDeprecations: ['mixed-decls'],
},
},
}],
}
],
});
Expand Down

0 comments on commit 2e48abe

Please sign in to comment.