Skip to content

Commit d16553a

Browse files
author
Ivan Sinkarenko
committed
Suppress sass warnings in bootstrap code
1 parent 9b04c05 commit d16553a

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

web/webpack.config.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,17 @@ module.exports = {
5151
},
5252
{
5353
// Loads a SASS/SCSS file and compiles it to CSS
54-
loader: 'sass-loader'
54+
loader: 'sass-loader',
55+
options: {
56+
// Options passed directly to Dart Sass
57+
sassOptions: {
58+
silenceDeprecations: [
59+
"global-builtin",
60+
"color-functions",
61+
"import"
62+
]
63+
}
64+
}
5565
}
5666
]
5767
}

0 commit comments

Comments
 (0)