lib/index.js
function () {
  var mediaPath = path.join(__dirname, '..', 'media'),
      templateFile = path.join(mediaPath, 'templates', 'index.jade'),
      monolith = require('monolith').init({
        minify: true
      });

  monolith.addCSSFile(path.join(mediaPath, "css", "normalize.css"));
  monolith.addCSSFile(path.join(mediaPath, "css", "razdraz.css"));

  outputData.css = monolith.getCSS();
  outputData.scripts = monolith.getScript();
  outputData.pageTemplate = jade.compile(fs.readFileSync(templateFile, 'utf-8'));

}
function () {
  var mediaPath = path.join(__dirname, '..', 'media'),
      templateFile = path.join(mediaPath, 'templates', 'index.jade'),
      monolith = require('monolith').init({
        minify: true
      });

  monolith.addCSSFile(path.join(mediaPath, "css", "normalize.css"));
  monolith.addCSSFile(path.join(mediaPath, "css", "razdraz.css"));

  outputData.css = monolith.getCSS();
  outputData.scripts = monolith.getScript();
  outputData.pageTemplate = jade.compile(fs.readFileSync(templateFile, 'utf-8'));

}
function ( ) { var mediaPath = path . join ( __dirname , '..' , 'media' ) , templateFile = path . join ( mediaPath , 'templates' , 'index.jade' ) , monolith = require ( 'monolith' ) . init ( { minify : true } ) ; monolith . addCSSFile ( path . join ( mediaPath , "css" , "normalize.css" ) ) ; monolith . addCSSFile ( path . join ( mediaPath , "css" , "razdraz.css" ) ) ; outputData . css = monolith . getCSS ( ) ; outputData . scripts = monolith . getScript ( ) ; outputData . pageTemplate = jade . compile ( fs . readFileSync ( templateFile , 'utf-8' ) ) ; }
Prepare for markup output. Collect static assets and precompile templates.
Prepare for markup output . Collect static assets and precompile templates .