Structr just got another useful, some would argue essential, web development feature: Minification.
Should any of the minification resources change, all minification targets will be automatically updated to reflect the changes. The same goes for the specific settings for each type, changing the
lineBreak value triggers the minification of the
MinifiedCssFile and changing the
optimizationLevel triggers a minification of the
By integrating this new feature, Structr takes one more worry away from users. They can simply include the minified asset into production pages and don’t need to worry about updating their minified assets or even leaving Structr.
From the closure compiler documentation:
The properties dialogue enables the user to add/remove files to/from the minified file, select the optimization level and also shows the warnings and errors which occurred during minification. It also lets the user trigger a manual minification run.
Do you have comments, feedback or improvements you would like to see in this feature? Some must-have options or configuration switches for closure compiler Structr simply needs to support? Let us know in the comments below, tweet at @structr or open a feature request issue in the structr repository on GitHub