module.exports = require('eventsource-polyfill/dist/eventsource')

/* eslint-disable no-var */
var evs = require('eventsource-polyfill/dist/eventsource')
module.exports = window.EventSource || evs.EventSource

Fix incorrect usage of polyfill when bundled
Fix incorrect usage of polyfill when bundled
