Бесплатно
Загрузите дополнение из админки вашего сайта.
Как загрузить?
Как загрузить?
Внимание, этот компонент требует версию PHP
7.4
или выше!
Если ваш сайт использует PHP ниже требуемого, установка этого
дополнения может его сломать.
Внимание, этот компонент требует версию MODX не ниже
2.4
!
About ModxMinify
MODX Minify is a MODX Extra to group and minify your CSS, SCSS, LESS and JS files. You can create groups, and each group can contain multiple files of the same type. So for instance you create a group named 'css' where you can add all your css, scss and less files. By calling the MODX Minify snippet inside a tag in your head a minified css file will be generated and cached which will contain all your files grouped and minified!
MODX Minify is a MODX Extra to group and minify your CSS, SCSS, LESS and JS files. You can create groups, and each group can contain multiple files of the same type. So for instance you create a group named 'css' where you can add all your css, scss and less files. By calling the MODX Minify snippet inside a tag in your head a minified css file will be generated and cached which will contain all your files grouped and minified!
ModxMinify 1.0.3 (2025-02-05)
- Upgrade ScssPhp by composer
ModxMinify 1.0.2 (2022-11-14)
- PHP 8 compatibility
ModxMinify 1.0.1 (2018-05-03)
- Add missing less.php library
- Fix bug with hardcoded 'modx_' prefix in build (#9 and #25)
- Add cache_path and cache_url settings to override path to minified file (PR#27) - Thanks to @digitalpenguin
- Update composer dependencies
- Remove twig from composer dependencies for better compatibility (#32)
ModxMinify 1.0.0 (2017-01-24)
- PR release
ModxMinify 0.2.0 (2016-05-25)
- Added ability to combine multiple groups in one modxMinify call.
ModxMinify 0.1.9 (2016-02-11)
- Added plugin to clear ModxMinify cache files on Modx cache clear.
- Fixed exception bug in Leafo class
- Added (and removed :p) config.json for groups/files
ModxMinify 0.1.7 (2016-01-20)
- New css uri rewrite filter (for rewriting relative urls in css files)
- New css minify filter
- fix assetwriter paths
ModxMinify 0.1.6 (2016-01-18)
ModxMinify 0.1.5 (2016-01-15)
- Updated Assetic library to latest version
- Added support for .less files
- Fix file extension check in minify class
ModxMinify 0.1 (2015-12-18)
- Initial release.
Последние обсуждения в сообществе MODX.pro