zing icon indicating copy to clipboard operation
zing copied to clipboard

Use PostCSS + Webpack

Open iafan opened this issue 7 years ago • 2 comments

When rebuilding parts of the UI in React, we want to take advantage of the locally-scoped CSS rules tied to React components, and this use this as an opportunity to clean up monolithic CSS we currently have.

Let's use PostCSS for this and integrate it with Webpack so that we can produce final CSS bundles upon saving individual component CSS files.

iafan avatar Oct 03 '16 23:10 iafan

Also worth considering: https://styled-components.com/

julen avatar Oct 25 '16 13:10 julen

Also worth considering: https://styled-components.com/

I'm ok with styled components as well. Let's pick something (e.g. styled components) and try to build some of the new components with it. Then will see if we need to re-evaluate the approach.

iafan avatar Oct 25 '16 21:10 iafan