An improved version of markstory/mini-asset. An asset compression library. Provides file concatenation and a flexible filter system for preprocessing and minification.
Mini Asset Improved is a small footprint library that provide tools to assist in building an asset minification/optimization pipeline. It uses a simple INI based configuration file that lets you define output files, that are comprised of a number of input files. Input files can be processed by filters on a per-extension or per file basis. Filters allow you to integrate existing pre-processors and minifiers or build your own.
Please check markstory/mini-asset for original feature set.
- Fixed globbing path issue, fixed ScssFilter getDependencies issue. (Supports
- Added PostCSS filter.
allowDebugModeoption for filters to allow some output filters run in debug mode.
- Filter options are merged instead of overriding in
- Fixed several issues relating to path expansion.
- Allow underscored and non-underscored version of filenames in
Add this library to your application with composer, after that you can start integrating MiniAsset into your application and use the provided CLI tools to generate asset targets:
composer require 'clthck/mini-asset-improved'
php composer.phar require 'clthck/mini-asset-improved'
- CakePHP - AssetCompressImproved plugin.
Please report any issues you have with the plugin to the issue tracker on github.
Mini Asset Improved is offered under an MIT license.
See the github contributors list.
See CHANGELOG for changes only available on
github releases for changelogs on previous releases.