Why was PostCSS removed from the barceloneta bobtemplate?

I'm currently working on a Plone 5.2 theme created using mr.bob, the addon template and the theme_barceloneta subtemplate. While configuring the Gruntfile with various tools (SCSS, stylelint, PostCSS with autoprefixer, etc.), I noticed that the postcss task had been removed. It had been removed as part of plone/bobtemplates.plone#373, without any documentation around the reason for this.

Is there any reason for me not to re-introduce PostCSS to the theme?

As @agitator worked on this, maybe he knows more about the reasons for this.

1 Like

As far as I remember... the PostCSS was inlining the map file somehow, regardless of the settings, resulting in a huge css file.
If you think PostCSS is still useful, feel free to make a PR :wink:

1 Like

Thanks for the info! Just couldn't figure out why it was happening. Would be good if the current practises & tooling used in plometheme.barceloneta were reflected in the bobtemplate, so I'll see what I can do!

Plone Foundation Code of Conduct