Skip to content

Latest commit

 

History

History
executable file
·
23 lines (12 loc) · 639 Bytes

README.md

File metadata and controls

executable file
·
23 lines (12 loc) · 639 Bytes

Silverstripe Minifier

An extension to integrate matthiasmullie/minify minification into SilverStripe 4 to minify all combined JavaScript and CSS files.

Requirements

  • SilverStripe 4+ or 5+

Installation via composer

composer require loveduckie/silverstripe-minifier

Usage

The module is currently just plug-and-play. Once installed it will automatically minify all combined JavaScript and CSS files in live mode. Do not forget to ?flush after installation.

Please refer to the PageController example to see example usage in your PageController.