umer936/cakephp-asset-compress-yuicompressor
最新稳定版本:4.0.3
Composer 安装命令:
composer require umer936/cakephp-asset-compress-yuicompressor
包简介
See docs for YUI Compressor. This plugin installs YUI Compressor to the proper location for use with markstory/asset_compress CakePHP plugin.
README 文档
README
https://github.com/nervo/yuicompressor but puts it in the right place for https://github.com/markstory/asset_compress for CakePHP 4
Installation
Add to composer.json
{
...
"require-dev": {
...
"umer936/cakephp-asset-compress-yuicompressor": "@stable"
},
...
"scripts": {
...
"post-install-cmd": [
...
"@install-yuicompressor"
],
"post-update-cmd": "@install-yuicompressor",
...
"install-yuicompressor": "CakephpAssetCompressYuicompressor\\Console\\Installer::postUpdate",
...
},
...
}
This makes it so it installs both on composer install and composer update.
TODO:
- In the future, this should check if the file exists and copy the file only if it does not. There's no need to overwrite the yui file if it already exists.
统计信息
- 总下载量: 37
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2022-09-23