Open kohsah opened 6 years ago
@Arunadevi one possible approach is to use postcss-next , see this comment https://github.com/facebook/create-react-app/issues/2133#issuecomment-301024670
Then we can do away with the polyfill for css custom properties.
@kohsah , the above comment is about installing postcss without ejecting. I might then want to install https://github.com/postcss/postcss-custom-properties. Or should I use postcss-nextcss?
@Arunadevi postcss-customproperties looks fine to me
I tried calling the postcss plugin in postbuild.
"postbuild": "postcss --use postcss-custom-properties --replace build/static/css/**/*.css"
Doesn't work. No errors either. However, might be due to:
build
folder containing all theme definitionsUpdated i#52-postcss
branch with the WIP code.
Follow on from https://github.com/gawati/gawati-portal-ui/issues/26
In IE 11 CSS Custom Properties don't get set.