Merge pull request #16307 from vector-im/t3chguy/spaces
Enable PostCSS Calc in webpack builds
This commit is contained in:
commit
816ea3d904
3 changed files with 11 additions and 0 deletions
|
@ -125,6 +125,7 @@
|
||||||
"modernizr": "^3.11.4",
|
"modernizr": "^3.11.4",
|
||||||
"node-fetch": "^2.6.1",
|
"node-fetch": "^2.6.1",
|
||||||
"optimize-css-assets-webpack-plugin": "^5.0.4",
|
"optimize-css-assets-webpack-plugin": "^5.0.4",
|
||||||
|
"postcss-calc": "^7.0.5",
|
||||||
"postcss-easings": "^2.0.0",
|
"postcss-easings": "^2.0.0",
|
||||||
"postcss-extend": "^1.0.5",
|
"postcss-extend": "^1.0.5",
|
||||||
"postcss-hexrgba": "^2.0.1",
|
"postcss-hexrgba": "^2.0.1",
|
||||||
|
|
|
@ -227,6 +227,7 @@ module.exports = (env, argv) => {
|
||||||
require("postcss-easings")(),
|
require("postcss-easings")(),
|
||||||
require("postcss-strip-inline-comments")(),
|
require("postcss-strip-inline-comments")(),
|
||||||
require("postcss-hexrgba")(),
|
require("postcss-hexrgba")(),
|
||||||
|
require("postcss-calc")({warnWhenCannotResolve: true}),
|
||||||
|
|
||||||
// It's important that this plugin is last otherwise we end
|
// It's important that this plugin is last otherwise we end
|
||||||
// up with broken CSS.
|
// up with broken CSS.
|
||||||
|
|
|
@ -8899,6 +8899,15 @@ postcss-calc@^7.0.1:
|
||||||
postcss-selector-parser "^6.0.2"
|
postcss-selector-parser "^6.0.2"
|
||||||
postcss-value-parser "^4.0.2"
|
postcss-value-parser "^4.0.2"
|
||||||
|
|
||||||
|
postcss-calc@^7.0.5:
|
||||||
|
version "7.0.5"
|
||||||
|
resolved "https://registry.yarnpkg.com/postcss-calc/-/postcss-calc-7.0.5.tgz#f8a6e99f12e619c2ebc23cf6c486fdc15860933e"
|
||||||
|
integrity sha512-1tKHutbGtLtEZF6PT4JSihCHfIVldU72mZ8SdZHIYriIZ9fh9k9aWSppaT8rHsyI3dX+KSR+W+Ix9BMY3AODrg==
|
||||||
|
dependencies:
|
||||||
|
postcss "^7.0.27"
|
||||||
|
postcss-selector-parser "^6.0.2"
|
||||||
|
postcss-value-parser "^4.0.2"
|
||||||
|
|
||||||
postcss-color-functional-notation@^2.0.1:
|
postcss-color-functional-notation@^2.0.1:
|
||||||
version "2.0.1"
|
version "2.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/postcss-color-functional-notation/-/postcss-color-functional-notation-2.0.1.tgz#5efd37a88fbabeb00a2966d1e53d98ced93f74e0"
|
resolved "https://registry.yarnpkg.com/postcss-color-functional-notation/-/postcss-color-functional-notation-2.0.1.tgz#5efd37a88fbabeb00a2966d1e53d98ced93f74e0"
|
||||||
|
|
Loading…
Reference in a new issue