Skip to content

MinifierPluginCompressExpressionValues

natxet edited this page Oct 6, 2015 · 1 revision

#sidebar Sidebar

= !CompressExpressionValues minifier plugin =

== Description == This plugin compress the content of expresssion() declaration values.

For compression [https://github.com/rgrove/jsmin-php/ JSMin] is required and have to be already included or loadable via [http://goo.gl/JrW54 autoloading].

== Configuration: ==

  • true / false

== Defaults: ==

  • false

== Before: == {{{ width: expression( Math.round( Math.random() * 100 ) ); }}}

== After: == {{{ width:expression(Math.round(Math.random()*100)); }}}