A simple BroadcastChannel polyfill that works with all major browsers. Please refer to the official MDN documentation of the Broadcast Channel API.
See Broadcast Channel API on MDN.
For more info, see the related article on Medium.
....
plugins: [
new ProvidePlugin({
BroadcastChannel: '@alexis89x/broadcast-channel/lib/index.js'
})]
``