mirror of https://github.com/zulip/zulip.git
postcss: Add postcss-calc plugin.
As foreshadowed by commit d0634181b5
(#13115).
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
parent
2bdb115581
commit
ad116cac4c
|
@ -43,6 +43,7 @@
|
||||||
"moment": "^2.24.0",
|
"moment": "^2.24.0",
|
||||||
"moment-timezone": "^0.5.25",
|
"moment-timezone": "^0.5.25",
|
||||||
"plotly.js": "^1.48.1",
|
"plotly.js": "^1.48.1",
|
||||||
|
"postcss-calc": "^7.0.1",
|
||||||
"postcss-extend-rule": "^3.0.0",
|
"postcss-extend-rule": "^3.0.0",
|
||||||
"postcss-loader": "^3.0.0",
|
"postcss-loader": "^3.0.0",
|
||||||
"postcss-nested": "^4.1.2",
|
"postcss-nested": "^4.1.2",
|
||||||
|
|
|
@ -5,6 +5,7 @@ module.exports = ({ file, options }) => ({
|
||||||
"postcss-nested": {},
|
"postcss-nested": {},
|
||||||
"postcss-extend-rule": {},
|
"postcss-extend-rule": {},
|
||||||
"postcss-simple-vars": {},
|
"postcss-simple-vars": {},
|
||||||
|
"postcss-calc": {},
|
||||||
autoprefixer: {},
|
autoprefixer: {},
|
||||||
cssnano: options.env === "production" ? {} : false,
|
cssnano: options.env === "production" ? {} : false,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue