/**
 * Minify module.
 * @namespace lib.minify
 * @author Taka Okunishi
 *
 */

var prototype = require('./_prototype.js');
/**
 * Define an object property getter to access prototype property.
 * @private
 */
function getPrototypeProperty (key) {
    return {
        enumerable: true,
        get: function () {
            return prototype[key];
        }
    };
}

// Export prototype properties with lazy loading.
Object.defineProperties(exports, {
    _minifyFile: getPrototypeProperty('_minifyFile'),
    minifyCssFile: getPrototypeProperty('minifyCssFile'),
    minifyCssString: getPrototypeProperty('minifyCssString'),
    minifyHtmlFile: getPrototypeProperty('minifyHtmlFile'),
    minifyHtmlString: getPrototypeProperty('minifyHtmlString'),
    minifyJsFile: getPrototypeProperty('minifyJsFile'),
    minifyJsString: getPrototypeProperty('minifyJsString')

});

