MoOx / postcss-cssnext

`postcss-cssnext` has been deprecated in favor of `postcss-preset-env`.

Home Page:https://moox.io/blog/deprecating-cssnext/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to get rid of the source of modern CSS?

finom opened this issue · comments

I'm using a bunch of the awesome CSS features but getting a problem with color function:

image

The color function works in Chromium but lightness function doesn't. Instead of using the compiled color, the browser uses the "modern" one which is interpreted it as transparent.

How to remove the source (including color calls, custom props etc) from resulting file?

postcss-cssnext has been deprecated in favor of postcss-preset-env. Read more at https://moox.io/blog/deprecating-cssnext/