function ResolverPlugin(plugins, types) {
  if(!Array.isArray(plugins)) plugins = [plugins]
  if(!types) types = ["normal"]
  else if(!Array.isArray(types)) types = [types]

  this.plugins = plugins
  this.types = types
}
ResolverPlugin

@param plugins
@param types
@constructor