Minifier Plugin
A plugin for minifying CSS and JavaScript. Dedicated to MT4.
This software is available free to both personal and commercial users, however you are encouraged to make a donation as a token of thanks and for continued development.
Changes
- 0.01:
- Initial release.
Overview
Minifier plugin allows you to minify your CSS and JavaScript templates and reduce their file sizes.
Installation
- Download and extract Minifier-<version>.zip file.
- Upload or copy the contents of "Minifier-<version>/plugins" directory into your MT "plugins" directory.
- After proper installation, you will find "Minifier" plugin listed on the "System Plugin Settings" screen.
Tags and modifiers
Minifier plugin provides mt:CSSMinifier and mt:JSMinifier block tags.
mt:CSSMinifier
A block tag which minifies a CSS template.
Example:
<mt:CSSMinify>
(contents of CSS template)
</mt:CSSMinify>
mt:JSMinifier
A block tag which minifies a JavaScript template.
Example:
<mt:JSMinify>
(contents of JavaScript template)
</mt:JSMinify>
See Also
- Minifier.ja_JP (Japanese document)
- /Minifier (TracBrowser)
License
Copyright (c) 2008 Hirotaka Ogawa <hirotaka.ogawa at gmail.com>. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the terms of either:
- the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or
- the "Artistic License" which comes with Perl.
![(please configure the [header_logo] section in trac.ini)](/public/chrome/common/trac_banner.png)