code: function compile (definition = {}, options = {}) {
    const { plugin } = options
    if (definition instanceof GraphQLFactoryDefinition) {
      return definition.registerPlugin(plugin).compile()
    }
    return define(definition, options).compile()
  }
docs: standalone compiler