github maizzle/framework v4.4.0-beta.4

latest releases: v5.0.0-beta.27, v5.0.0-beta.26, v5.0.0-beta.25...
pre-release23 months ago

This pre-release:

  1. Refactors shorthandInlineCSS so that it runs after removeUnusedCSS. This was necessary because running it before lead to a situation where CSS in body no longer matched that in the head, resulting in stray classes left over.

  2. Adds consistency between shorthand inline CSS (in style="" attributes) and compiled Tailwind CSS (in <style> tags).

    For example, like when you write custom CSS like .padded { @apply px-4 py-2; }.

    Compiled Tailwind CSS was always shorthanded as long as you were not developing locally (env would have been local, like when doing maizzle build), meaning it shortened it even when you didn't explicitly enable shorthandInlineCSS.

  3. Adds support for shorthandCSS, so you can write that instead of shorthandInlineCSS. Both will work, but the new shorthandCSS is clearer in terms of what it does when it's enabled (it shorthands CSS in both style="" attributes and in <style> tags).


  • feat: support shorthandCSS option 55cbed8
  • fix: enable mergeLonghand based on shorthandInlineCSS e9f1848
  • refactor: run shorthand inline css after cleanup cbacfad

v4.4.0-beta.3...v4.4.0-beta.4

Don't miss a new framework release

NewReleases is sending notifications on new releases.