Skip to content

Commit 160b9a0

Browse files
committed
Use default export in UMD definition
1 parent 683222a commit 160b9a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stackframe.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
if (typeof define === 'function' && define.amd) {
77
define('stackframe', [], factory);
88
} else if (typeof exports === 'object') {
9-
module.exports = factory();
9+
module.exports.default = factory();
1010
} else {
1111
root.StackFrame = factory();
1212
}

0 commit comments

Comments
 (0)