mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-26 00:21:16 +01:00
silence color function deprecations on prod
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user