Skip to content

Commit 85e5a6b

Browse files
Merge pull request #829 from remarkablemark/fix/exports
fix(index): fix exports for UMD build (CDN script)
2 parents 4885d1a + 6225395 commit 85e5a6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ HTMLReactParser.Text = domhandler.Text;
4747

4848
// support CommonJS and ES Modules
4949
module.exports = HTMLReactParser;
50-
module.exports.default = HTMLReactParser;
50+
HTMLReactParser.default = HTMLReactParser;

0 commit comments

Comments
 (0)