MODX EXTRA
minifyRegistered
Collect registered javascript/css files/chunks and minify them
Creator: Thomas Jakobi (jako)
0.4.1-pl (612 KB) Other Versions Need help installing this extra?About minifyRegistered
minifyRegistered is a simple but effective tool for MODX Revolution. With this tool all js and css files (and chunks) collected by the MODX API functions regClientStartupScript, regClientScript, regClientCSS, regClientStartupHTMLBlock and regClientHTMLBlock are checked to minify them by minify.
Information
Instructions
Install via Package Management.
New in minifyRegistered 0.4.1
- Install the Composer dependencies directly on the server
- Add missing assets/min folder
MinifyRegistered only works with MODX 2.x due to composer dependencies. mrclay/minify is dependent on psr/container 1.0 and MODX 3.x is dependent on psr/container 2.x. This is currently not solvable.