Skip to content

Node.js based forum software built for the modern web

silence color function deprecations on prod

Barış Soner Uşaklıd32a7c328350
diff --git a/src/meta/minifier.js b/src/meta/minifier.js
index a341a92e96..6aa975b334 100644
--- a/src/meta/minifier.js
+++ b/src/meta/minifier.js
@@ -164,7 +164,7 @@ actions.buildCSS = async function buildCSS(data) {
loadPaths: data.paths,
};
if (data.minify) {
- opts.silenceDeprecations = ['mixed-decls'];
+ opts.silenceDeprecations = ['mixed-decls', 'color-functions'];
}
const scssOutput = await sass.compileStringAsync(data.source, opts);
css = scssOutput.css.toString();