Skip to content

v0.5.0

Compare
Choose a tag to compare
@cossssmin cossssmin released this 12 Dec 02:11
· 1961 commits to master since this release

This minor release adds both new and long-awaited features to Maizzle.

Lifecycle hooks

You can now hook into the build process when using the render() function. See more in #71.

Escaped class names

You can now safely use the : separator, as well as / in your class names - Maizzle replaces escaped characters in CSS selectors and HTML classes like sm\:w-1\/2 and sm:w-1/2 with a simple but email client-compatible -

Template inheritance

This has now been fixed so that you can even extend a template from another template.

Prevent Widows

You can now use a prevent-widows attribute on any tag, in order to prevent widow words. Spaces and hyphens at the end of a paragraph will be replaced with non-breaking spaces and non-breaking hyphens.

Additionally....:

  • maizzle build now also uses the toString() method. d2adb1a
  • will throw error if Tailwind config is not an object. cf46651
  • Compile Tailwind only if needed. 0f663d6
  • Copy assets to output dir as a final step. 0ed5198
  • Start using ESLint. 9b5d03a

v0.4.4...v0.5.0