Closed simezi closed 6 years ago
Hi @simezi, thanks for spotting this documentation issue. It’s fixed in https://github.com/postcss/postcss-custom-properties/commit/1b495ce1c5acb50f58c1bd4cc1f594b8468e37b8
The issue you’ve linked to is pretty old (2016) and probably unrelated. I recently started maintenance on this plugin, and I recently wrote up that documentation you found the issue in. Also, I changed the default options in PostCSS Custom Properties v7 to match the original poster’s expectations.
Hi,
Related to #93
in current README.md,
preserve
is set undervariables
. https://github.com/postcss/postcss-custom-properties/blob/master/README.md#preserveHowever, as far as I can see,
preserve
must be set underoptions
https://github.com/postcss/postcss-custom-properties/blob/master/index.js#L169This is very confusing and this might have something with to do with the issue below in
postcss-cssnext
. https://github.com/MoOx/postcss-cssnext/issues/324Thanks.