Turns out you can make Lightning CSS and Hugo Pipes work together, producing cool results:
PEBKAC-related update . . .
I originally wrote in the linked post that the Lightning/PostCSS combo I described couldn’t bundle files together through
@import statements unless I added yet another PostCSS plugin, postcss-import — but I was wrong. The problem was that I hadn’t noticed a key Hugo Pipes option,
inlineImports, which defaults to
false. Once I fixed that, Lightning/PostCSS could do
@imports entirely on its own, without postcss-import. Therefore, I have edited this post accordingly, including correcting the provided code samples.
To any who had already read the post: my apologies for the error!
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.