Minifier for CSS and JavaScript files.
This plugin requires Craft CMS 4.x
- In the Craft Control Panel, go to Settings -> Plugins
- Search for "Minifier"
- Click the "Install" button
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project
-
Then tell Composer to load the plugin:
composer require bitboxde/minifier
-
In the Control Panel, go to Settings → Plugins and click the “Install” button for Minifier.
Please check settings before using. Possibly you need to change the paths.
- Installation
- Settings / Advanced
- Register files / Advanced
- Multi-Site usage
- Events
- Integrate a CSS preprocessor (Sass / Less)
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