Minify¶
The dependencies necessary for this plugin can be installed using the minify extra.
-
class
pysmith.contrib.web.minify.Minify(js_match_pattern='*.js')[source]¶ Minifies javascript using
rjsmin.jsmin(). The file’scontentswill be updated and the source file will not be renamed.- Parameters
js_match_pattern (str) – The pattern of javascript files to minify.