The minifier strips out the comment as expected, causing all CSS meant to be in this style tag to get dropped from the final build. I'm not sure if this is a mistake on my end or a legitimate issue with this plugin, so apologies in advance if this is intended behavior.
It seems I was mistaken about this being an issue with this plugin. Behind the scenes, webc-plugin-bundle is used for this functionality, which does allow you to run transforms before bundling.
I'm trying to minify a built HTML file, including inline CSS and JavaScript, with a custom transform.
Here's the relevant portion of my layout file where I bundle my CSS:
And my transform:
It seems my transform is running before WebC's and is receiving the following:
The minifier strips out the comment as expected, causing all CSS meant to be in this style tag to get dropped from the final build. I'm not sure if this is a mistake on my end or a legitimate issue with this plugin, so apologies in advance if this is intended behavior.