import * as Google from './google.ts' ; import * as GoogleImages from './google-images.ts' ; import * as Messenger from './messenger.ts' ; import * as DropboxPaper from './dropbox-paper.ts' ; import * as Slack from './slack.ts' ; import * as Gmail from './gmail.ts' ; let plugins = [ Google , Messenger , GoogleImages , DropboxPaper , Slack , Gmail ] ; let pluginNameSet = new Set ( [ ] ) ; for ( let plugin of plugins ) { let pluginName = plugin . default . pluginName ; if ( pluginNameSet . has ( pluginName ) ) { throw 'Plugin with this name already exists: ' + pluginName ; } pluginNameSet . add ( pluginName ) ; } export default plugins ;