glamor-calc-reduction
A port of postcss-calc for glamor, using reduce-css-calc.
Transform glamor declarations with calc()
:
;
into
Usage
;;plugins;
ECMAScript
You will need polyfills for the following features (which are provided for you if you are using babel's runtime).
- Object.entries
A non-compiled version can be required at index.es.js
and is
specified as jsnext:main
. This version includes the following
language features in addition:
- Destructuring
- Object literal shorthand
- Fat Arrows