Skip to content

Commit

Permalink
fix: Fix 'is not a function' regression when using require() and a di…
Browse files Browse the repository at this point in the history
…rectly exported factory function. Fixes pact-foundation#426
  • Loading branch information
TimothyJones committed Dec 28, 2022
1 parent cf42118 commit 909b27a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import pact from './pact';
module.exports = exports = pact;

export default pact;

Expand Down

0 comments on commit 909b27a

Please sign in to comment.