Skip to content

Commit

Permalink
events shouldn't be bundled in the client
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardoventurini committed Nov 7, 2023
1 parent b601847 commit b4b2576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/common/unify.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Monti = Kadira;
Kadira.wrapAsync = Meteor.wrapAsync;

if (Meteor.isServer) {
const EventEmitter = require('events').EventEmitter;
const EventEmitter = Npm.require('events').EventEmitter;
const eventBus = new EventEmitter();
eventBus.setMaxListeners(0);

Expand Down

0 comments on commit b4b2576

Please sign in to comment.