fballiano / openmage-cssjs-minify
CSS/JS minify module for OpenMage (and Magento 1.9)
Fund package maintenance!
fballiano
Buy Me A Coffee
paypal.me/fabrizioballiano
Installs: 1 037
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento-module
Requires
- php: >=7.4.0
- magento-hackathon/magento-composer-installer: *
- matthiasmullie/minify: ^1.3
README
Quick description
A modern solution to minify CSS/JS in your OpenMage project.
Features
- Uses the great matthiasmullie/minify library, with 26+M downloads is the most modern and supported minimization library for PHP
- Creates
media/fbminify
folder where the minified files are stored - Changes to the original files are detected based on the modification timestamp of the files themselves
- A cron job will clean old copies of the minified files every night at 03:30
Warning
This module is provided "as is" and I'll not be responsible for any problem or damage.
Installation
Only composer installation is supported:
composer require fballiano/openmage-cssjs-minify
Make sure that CSS/JS merging (the one provided by OpenMage core) is disabled (it's an old relic of the M1 era and it's not necessary anymore since HTTP2).
Support
If you have any issues with this extension, open an issue on GitHub.
Contribution
Any contributions are highly appreciated. The best way to contribute code is to open a pull request on GitHub.
Developer
Fabrizio Balliano
http://fabrizioballiano.com
@fballiano
Licence
OSL - Open Software Licence 3.0
Copyright
(c) Fabrizio Balliano