Parcel.js and PostCSS Rule Nesting

I’m trying our Parcel.js for one of my more recent endeavours and I must say I’m quite liking it so far. The zero-config approach doesn’t leave you with a lot of control, but at least you don’t have to adopt a boiler plate that you only use half the features of or write a 200 line webpack config by hand first.

One thing I really, really dearly missed when I just started out building a recent project with PostCSS is nesting rules. Usually I use SASS/SCSS for most of my CSS needs.

Nesting rules in SCSS looks like the following:

Continue reading “Parcel.js and PostCSS Rule Nesting”