lib/utils.js
function (path) {
    var profile;
    try {
      profile = eval(fs.readFileSync(path, 'utf-8'));
    } catch (err) {
      // set profile to empty, check in prerender will throw an error
      // if no path or baseUrl is present
      profile = {};
    }
    return profile;
  }
function (path) {
    var profile;
    try {
      profile = eval(fs.readFileSync(path, 'utf-8'));
    } catch (err) {
      // set profile to empty, check in prerender will throw an error
      // if no path or baseUrl is present
      profile = {};
    }
    return profile;
  }
function ( path ) { var profile ; try { profile = eval ( fs . readFileSync ( path , 'utf-8' ) ) ; } catch ( err ) { // set profile to empty, check in prerender will throw an error // if no path or baseUrl is present profile = { } ; } return profile ; }
Load and attempt to evaluate a requirejs build profile
@param {string} path path to a requirejs build profile
@return {object} requirejsConfig
Load and attempt to evaluate a requirejs build profile