github maizzle/framework v3.3.0

latest releases: v5.0.0-beta.26, v5.0.0-beta.25, v5.0.0-beta.24...
3 years ago

New features

maizzle serve [env]

You can now tell Maizzle to build files for a specific environment when using the maizzle serve CLI command.

This is basically the same as maizzle build [env] and it will use your config.[env].js file in the same way, the only difference is that is starts watching files with Browsersync and updates are automatically reflected in the browser:

$ maizzle serve production
√ Built 2 templates in 2111 ms.
[Browsersync] Access URLs:
 --------------------------------------
       Local: http://localhost:3000
    External: http://192.168.1.190:3000
 --------------------------------------
          UI: http://localhost:3001
 UI External: http://localhost:3001
 --------------------------------------
[Browsersync] Serving files from: build_production

Notes

  • this feature requires the latest version of the Maizzle CLI (at least 1.4.0)
  • if you specify a production environment name (where you have enabled inlining and such in the corresponding config file), you will not have all the Tailwind classes generated in the output - meaning you cannot use the browser's developer tools to quickly add a class to an element
  • making a change to a Template and saving it will rebuild just that template, just as you're used to with maizzle serve

  • fix: use env name in to-disk generator 3552182
  • feat: add support for environment name in serve method 88e2b78

v3.2.2...v3.3.0

Don't miss a new framework release

NewReleases is sending notifications on new releases.