function conditionalRequire(options) {
    //Transpile:
    //to css
    if (options.transpilerOne.less) less = require('less'); // http://lesscss.org/#usage
    if (options.transpilerOne.stylus) stylus = require('stylus'); // http://learnboost.github.io/stylus/docs/js.html
    //to html
    if (options.transpilerOne.jade) jade = require('jade'); //http://jadelang.com/api/
    if (options.transpilerOne.markdown) marked = require('marked'); //://npmjs.org/package/marked
    // //to js
    if (options.transpilerOne.coffee)
        Compiler = require('./coffee-compiler'); //https://npmjs.org/package/coffeescript-compiler
    if (options.transpilerTwo.js) transformEs6 = require('regenerator'); //https://github.com/facebook/regenerator
    if (options.transpilerOne.sjs) sjs = require('sweet.js'); //http://sweetjs.org/
    if (options.transpilerOne.tsc) tsc = require('../node_modules/node-typescript/lib/compiler');//https://npmjs.org/package/node-typescript

    // //Minify
    // //js
    if (options.minifier.js) UglifyJS = require("uglify-js"); //https://github.com/mishoo/UglifyJS2
    // //html
    if (options.minifier.html) minifyHtml = require('html-minifier'); //http://perfectionkills.com/experimenting-with-html-minifier/
    // //css
    // if (options.minifier.css)  csso = require('csso');//http://bem.info/tools/csso/usage/
    if (options.minifier.css)  cleanCSS = require('clean-css'); //https://github.com/GoalSmashers/clean-css
    
    if (options.transpilerThree.js === 'denodify') denodify = require('denodify'); //https://github.com/facebook/regenerator
    
    //using modified versions that doesn't wrap script in iife
    if (options.transpilerTwo.html === 'inject') scriptInjector = require('./script-injector'); https://github.com/dlmanning/script-injector
    
    if (options.zip) {
        zlib = require('zlib');
        zipper = {
            gzip: zlib.gzip
            ,deflate: zlib.deflate
        };
        
    }

}
function conditionalRequire(options) {
    
    
    if (options.transpilerOne.less) less = require('less'); 
    if (options.transpilerOne.stylus) stylus = require('stylus'); 
    
    if (options.transpilerOne.jade) jade = require('jade'); 
    if (options.transpilerOne.markdown) marked = require('marked'); 
    
    if (options.transpilerOne.coffee)
        Compiler = require('./coffee-compiler'); 
    if (options.transpilerTwo.js) transformEs6 = require('regenerator'); 
    if (options.transpilerOne.sjs) sjs = require('sweet.js'); 
    if (options.transpilerOne.tsc) tsc = require('../node_modules/node-typescript/lib/compiler');

    
    
    if (options.minifier.js) UglifyJS = require("uglify-js"); 
    
    if (options.minifier.html) minifyHtml = require('html-minifier'); 
    
    
    if (options.minifier.css)  cleanCSS = require('clean-css'); 
    
    if (options.transpilerThree.js === 'denodify') denodify = require('denodify'); 
    
    
    if (options.transpilerTwo.html === 'inject') scriptInjector = require('./script-injector'); https:
    
    if (options.zip) {
        zlib = require('zlib');
        zipper = {
            gzip: zlib.gzip
            ,deflate: zlib.deflate
        };
        
    }

}
function conditionalRequire ( options ) { //Transpile: //to css if ( options . transpilerOne . less ) less = require ( 'less' ) ; // http://lesscss.org/#usage if ( options . transpilerOne . stylus ) stylus = require ( 'stylus' ) ; // http://learnboost.github.io/stylus/docs/js.html //to html if ( options . transpilerOne . jade ) jade = require ( 'jade' ) ; //http://jadelang.com/api/ if ( options . transpilerOne . markdown ) marked = require ( 'marked' ) ; //://npmjs.org/package/marked // //to js if ( options . transpilerOne . coffee ) Compiler = require ( './coffee-compiler' ) ; //https://npmjs.org/package/coffeescript-compiler if ( options . transpilerTwo . js ) transformEs6 = require ( 'regenerator' ) ; //https://github.com/facebook/regenerator if ( options . transpilerOne . sjs ) sjs = require ( 'sweet.js' ) ; //http://sweetjs.org/ if ( options . transpilerOne . tsc ) tsc = require ( '../node_modules/node-typescript/lib/compiler' ) ; //https://npmjs.org/package/node-typescript // //Minify // //js if ( options . minifier . js ) UglifyJS = require ( "uglify-js" ) ; //https://github.com/mishoo/UglifyJS2 // //html if ( options . minifier . html ) minifyHtml = require ( 'html-minifier' ) ; //http://perfectionkills.com/experimenting-with-html-minifier/ // //css // if (options.minifier.css)  csso = require('csso');//http://bem.info/tools/csso/usage/ if ( options . minifier . css ) cleanCSS = require ( 'clean-css' ) ; //https://github.com/GoalSmashers/clean-css if ( options . transpilerThree . js === 'denodify' ) denodify = require ( 'denodify' ) ; //https://github.com/facebook/regenerator //using modified versions that doesn't wrap script in iife if ( options . transpilerTwo . html === 'inject' ) scriptInjector = require ( './script-injector' ) ; https : //github.com/dlmanning/script-injector if ( options . zip ) { zlib = require ( 'zlib' ) ; zipper = { gzip : zlib . gzip , deflate : zlib . deflate } ; } }
So the whole thing starts up quick with options turned off:
So the whole thing starts up quick with options turned off :