import { PluginEntrypoint } from 'nexus/plugin' ; import { Settings } from './settings' ; export const auth = settings => ( { settings , packageJsonPath : require . resolve ( '../package.json' ) , runtime : { module : require . resolve ( './runtime' ) , export : 'plugin' } } ) ;