11 Commits
Author SHA1 Message Date
Andrey Sitnik 69c2e25b3a Clean up code 2014-12-09 11:51:43 +03:00
Maxime Thirouin 6aca962ddd Safer way for PostCSS to consume PostCSS object as plugin
Because project like grunt are doing some shitty cloning for option,
the test ìnstanceof PostCSS` can return false, even if the object has
been cloned from a PostCSS instance.
To avoid this, we need to tolerate object that have array `processors`.

Ref https://github.com/nDmitry/grunt-postcss/issues/8
2014-12-09 08:18:03 +01:00
Andrey Sitnik dd2755318a Inline maps by default 2014-11-06 13:22:04 +03:00
Andrey Sitnik 1723fdf6b9 Remove for-of to be free from Symbol polyfill 2014-11-06 13:22:04 +03:00
Andrey Sitnik ae7400103c Take map from Result object in PostCSS#process 2014-11-06 13:22:04 +03:00
Maxime ThirouinandAndrey Sitnik e8d7fb525d .use() can consume plugins from another postcss instance
Close #74
2014-11-06 13:22:03 +03:00
Andrey Sitnik eb5fdf8146 Allow to set processors as array 2014-11-06 13:22:03 +03:00
Andrey Sitnik 862f9e4703 Allow to use object API with functions (like autoprefixer) 2014-08-28 03:11:54 +04:00
Andrey Sitnik f802b854e0 Allow to set processor by object API 2014-08-27 12:49:52 +04:00
Andrey Sitnik 6c73021f4f Send process options to processors 2014-08-22 14:43:02 +04:00
Andrey Sitnik 86cb8c66a2 Convert postcss to ES6 2014-07-03 01:05:06 +09:00