dorsetdigital/silverstripe-htmlminifier
最新稳定版本:v1.1.0
Composer 安装命令:
composer require dorsetdigital/silverstripe-htmlminifier
包简介
HTML minifier for Silverstripe
README 文档
README
This module minifies the output of a Silverstripe site using the HtmlMin package
Requirements
*Silverstripe 4.x
Installation
- Install the code with
composer require dorsetdigital/silverstripe-htmlminifier "^1" - Run a
dev/build?flushto update your project
Usage
The module needs to be enabled in order to work. This can be done in a yml file:
--- Name: minifierconfig --- DorsetDigital\SSMinifier\Middleware: enable: true enable_in_dev: false
The options are hopefully fairly self explanatory:
enable- enable minificationenable_in_dev- enable minification in dev mode (default false)
Notes
- The module is disabled in the CMS / admin system
Credits
- Uses the excellent HtmlMin package (https://github.com/voku/HtmlMin)
- As always, thanks to the core team for all their hard work.
统计信息
- 总下载量: 1.44k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 1
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2020-02-14