code: function resolveApp(file) {
      if (fs.existsSync(file.path)) {
        const Base = require(file.path);
        const base = new Base(null, opts);
        base.define('log', log);
  
        if (typeof base.name === 'undefined') {
          base.name = file.name;
        }
  
        // if this is not an instance of base-app, load
        // app-base plugins onto the instance
        // if (file.name !== 'core') {
        //   Core.plugins(base);
        // }
        return base;
      }
    }
docs: Try to resolve the path to the given module, require it,
  and create an instance