import WebpackNotifierPlugin = require ( '../' ) ; const optionsArray = [ { title : 'Webpack' , contentImage : 'logo.png' , excludeWarnings : true , alwaysNotify : true , skipFirstNotification : true , emoji : true } , { title : ( data ) => 'Webpack' } , ] ; const plugins = optionsArray . map ( options => new WebpackNotifierPlugin ( options ) ) ;