bitboxde/minifier

CSS, JS and HTML-Minifier-Plugin for Craft CMS

4.0.0 2022-08-18 10:33 UTC

This package is auto-updated.

Last update: 2024-04-18 14:12:18 UTC


README

Minifier for CSS and JavaScript files.

Screenshot

Requirements

This plugin requires Craft CMS 4.x

Installation

Plugin Store (the easy way)

  • In the Craft Control Panel, go to Settings -> Plugins
  • Search for "Minifier"
  • Click the "Install" button

Composer Command Line (the manual way)

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

     cd /path/to/project
    
  2. Then tell Composer to load the plugin:

     composer require bitboxde/minifier
    
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Minifier.

Configuring Minifier

Please check settings before using. Possibly you need to change the paths.

Screenshot

Documentation

Minifier Roadmap

Some things to do, and ideas for potential features:

  • External files
  • HTML-Minifier (currently beta)

If you have some interesting ideas, please write us!

Brought to you by bitbox GmbH & Co. KG