github maizzle/framework v3.4.0

latest releases: v5.0.0-beta.28, v5.0.0-beta.27, v5.0.0-beta.26...
3 years ago

New features

Tailwind CSS JIT

You can now use the new Just-in-Time mode added in Tailwind v2.1.0.

To enable it, you must currently:

  1. enable it only for maizzle serve or maizzle build (and not for any other environment, because of tailwindlabs/tailwindcss#4071)
  2. also specify the purge option in your tailwind.config.js, in simplified array syntax (it throws an error and Maizzle build hangs if you omit it or set it to an object, see tailwindlabs/tailwindcss#4094)

Example:

module.exports = {
  mode: process.env.NODE_ENV === 'local' ? 'jit' : 'aot', // all `maizzle build` commands that specify an environment name will use 'aot'
  purge: [
    'src/**/*.*',
  ],
  // ...
}

Fixed

  • fixed an issue with template extension not being correctly used when developing locally (#423)

v3.3.1...v3.4.0

Don't miss a new framework release

NewReleases is sending notifications on new releases.