leoparden / minify
Pimcore Minify HTML, Stylesheet and Javascript
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Type:pimcore-bundle
Requires
- php: >=7.1
- leafo/lessphp: ^0.5.0
- matthiasmullie/minify: ^1.3
- pimcore/pimcore: >=5.5.4
- voku/html-min: ^3.0
This package is not auto-updated.
Last update: 2025-03-21 04:38:22 UTC
README
Minify HTML, Stylesheet and Javascript
Installation
composer require leoparden/minify
Usage:
{{ minify({ 'test.css' : '/bundles/test/css/test.css', 'test.js' : '/bundles/test/js/test.js', 'all.less' : '/bundles/test/less/all.less', }, { 'async': true, 'output': 'output_test', 'lessVariables': { '@test' : '#ccc' }, 'media': 'all' }) }}