mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Disable postcss-calc
's noisy warnWhenCannotResolve
option
While it sounds like a useful warning at first, it turns out the warnings it prints are ones we're unlike to ever act on, such as adding percentages and pixels, which seem fine to have. This resets to default behaviour, which leaves the warning off.
This commit is contained in:
parent
571807d226
commit
9cf35ab199
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user