Monday, December 5, 2011

Chirpy minify

You may ask Chirpy to watch for changes to (or the creations of) JavaScript files ending in a certain pattern. We use yourfilenamehere.full.js as our Chripy-friendly convention. Chirpy will minify the watched files, making code-condensed, less-readable versions of the .full.js files. We used the minify versions in our app for performance and keep the unminified versions as grounds for doing work in .js files that is easily readable. Do not edit a minified file. The change will be overwritten when the fatter parent file gets updated, demanding the creation of a new minified script.

No comments:

Post a Comment