thoughtco/statamic-minify
最新稳定版本:2.0.2
Composer 安装命令:
composer require thoughtco/statamic-minify
包简介
Automatically minifies CSS and JS files on a Statamic v3 site
README 文档
README
Add on for Statamic v3 to combine and minify all CSS and JS files found in the page response.
Features
- Conditionally minify CSS or JS
- Group together specific files using data-group on your link or script element
- No pre-processing or combining of files required
Installation
Install by composer: composer require thoughtco/statamic-minify
A new config file will be published, and you can modify the minification settings in config/thoughtco/minify.php.
Static Caching
If you are using static caching, add \Thoughtco\Minify\Replacers\MinifyReplacer::class to your statamic.static_caching.replacers array.
统计信息
- 总下载量: 3.56k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2021-02-15