Skip to content

v3.4.0

Compare
Choose a tag to compare
@cossssmin cossssmin released this 16 Apr 15:21
· 1074 commits to master since this release

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