Giter VIP home page Giter VIP logo

openmage-cssjs-minify's Introduction

CSS/JS Minify module for OpenMage/Magento1

If you find my work valuable, please consider sponsoring
Sponsor me on GitHub Buy me a coffee Donate via PayPal

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

openmage-cssjs-minify's People

Contributors

fballiano avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.