js-kompo-utils 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -350,8 +350,9 @@ export class KompoJsInitializer {
|
|
|
350
350
|
|
|
351
351
|
bootBroadcastingIfRequired() {
|
|
352
352
|
if (this.config.includeBroadcasting) {
|
|
353
|
-
const
|
|
354
|
-
|
|
353
|
+
const EchoModule = require("laravel-echo");
|
|
354
|
+
const Echo = EchoModule.default || EchoModule;
|
|
355
|
+
this.window.Pusher = require('pusher-js');
|
|
355
356
|
|
|
356
357
|
this.window.Echo = new Echo(this.config.echoBroadcasterConfig);
|
|
357
358
|
}
|