Skip to content

Commit

Permalink
fix: cjs export
Browse files Browse the repository at this point in the history
  • Loading branch information
krmax44 committed Apr 3, 2021
1 parent e05b91f commit e27df57
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,5 @@ export default abstract class Houk<Events extends EventTypes> {
return this.events[event];
}
}

if (typeof module !== 'undefined') module.exports = Houk;

0 comments on commit e27df57

Please sign in to comment.