Skip to content

Commit

Permalink
fix($cjs): have a default export
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiglingeanu committed Mar 2, 2018
1 parent 3f797c9 commit 79a99c8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,10 @@ var defaultCommands = {
}
};

module.exports = newContext();
var contextForExport = newContext();

module.exports = contextForExport;
module.exports.default = contextForExport;
module.exports.newContext = newContext;

// invariants
Expand Down

0 comments on commit 79a99c8

Please sign in to comment.