Merge pull request #17041 from vector-im/jryans/disable-calc-warn

Disable `postcss-calc`'s noisy `warnWhenCannotResolve` option
This commit is contained in:
J. Ryan Stinnett 2021-04-22 13:18:24 +01:00 committed by GitHub
commit 11b40eeff4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -243,7 +243,7 @@ module.exports = (env, argv) => {
require("postcss-easings")(),
require("postcss-strip-inline-comments")(),
require("postcss-hexrgba")(),
require("postcss-calc")({warnWhenCannotResolve: true}),
require("postcss-calc")(),
// It's important that this plugin is last otherwise we end
// up with broken CSS.