import { Plugin } from './Plugin' ; import { gsuitePlugin } from './gsuite' ; import { slackPlugin } from './slack' ; const enabledPlugins = ( process . env . SHERIFF_PLUGINS || '' ) . split ( ',' ) ; export const plugins = [ ] ; if ( enabledPlugins . includes ( 'gsuite' ) ) { plugins . push ( gsuitePlugin ) ; } if ( enabledPlugins . includes ( 'slack' ) ) { plugins . push ( slackPlugin ) ; }