ProjectEvergreen / greenwood

Greenwood is your workbench for the web, embracing web standards from the ground up to empower your stack from front to back.
https://www.greenwoodjs.io
MIT License
96 stars 9 forks source link

`<style>` tags in the `<body>` are not getting optimized #1022

Closed thescientist13 closed 1 year ago

thescientist13 commented 1 year ago

Contrary to #581, it looks like a <style> in the <body> are not getting optimized.

For example

<body>
  <style>
    * {
      color: red;
      font-size: blue;
    }
  </style>
</body>

Comes out without any minification applied Image


Answer is pretty simple actually, it was never enabled. 🤦

Could have sworn I had a test for this, so will definitely want to write one now. 😬