Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fballiano/openmage-cssjs-minify
Modern minification for JS/CSS in your OpenMage project
https://github.com/fballiano/openmage-cssjs-minify
css css-minifier css-minify javascript js-minifier js-minify magento magento-extension magento-module openmage openmage-core-module openmage-extension openmage-module
Last synced: 3 months ago
JSON representation
Modern minification for JS/CSS in your OpenMage project
- Host: GitHub
- URL: https://github.com/fballiano/openmage-cssjs-minify
- Owner: fballiano
- Created: 2024-05-06T22:51:37.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-10-11T06:22:52.000Z (4 months ago)
- Last Synced: 2024-10-11T07:56:06.857Z (4 months ago)
- Topics: css, css-minifier, css-minify, javascript, js-minifier, js-minify, magento, magento-extension, magento-module, openmage, openmage-core-module, openmage-extension, openmage-module
- Language: PHP
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
- awesome-openmage - CSS/JS Minify
README
CSS/JS Minify module for OpenMage/Magento1
=============================If you find my work valuable, please consider sponsoring
![]()
![]()
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:30Warning
---------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](https://help.github.com/articles/using-pull-requests).Developer
---------
Fabrizio Balliano
[http://fabrizioballiano.com](http://fabrizioballiano.com)
[@fballiano](https://twitter.com/fballiano)Licence
-------
[OSL - Open Software Licence 3.0](https://opensource.org/license/osl-3)Copyright
---------
(c) Fabrizio Balliano