var pkg = require( './packages' );

module.exports = {
	'application/javascript' : function( file, content ) {
		try {
			return pkg.ugy.minify( file );
		}             // in these case a create file has been triggered when the file is saved but not valid
		catch ( e ) { // todo: should we check if the file is in a valid state, period, before re-writing it?
			console.log( e );
			return null;
		}
	},
	'text/css'               : function( content ) {
		try { return pkg.clean_css.process( content ); }
		catch ( e ) { return null; }
	}
};




@@ -144,16 +144,21 @@
 ( file )
+.code
 ;%0A%09%09%7D   

update uglify-js version