Skip to content

Node.js based forum software built for the modern web

refactor: silence if-function deprecation on prod

Barış Soner Uşaklı403230ccfd52
diff --git a/src/meta/minifier.js b/src/meta/minifier.js
index 324b827797..ce6fd84a09 100644
--- a/src/meta/minifier.js
+++ b/src/meta/minifier.js
@@ -167,7 +167,7 @@ actions.buildCSS = async function buildCSS(data) {
if (data.minify) {
opts.silenceDeprecations = [
'legacy-js-api', 'color-functions',
- 'global-builtin', 'import',
+ 'global-builtin', 'import', 'if-function',
];
}
const scssOutput = await sass.compileStringAsync(data.source, opts);