Skip to content

Commit 6225395

Browse files
fix(index): fix exports for UMD build (CDN script)
Fixes #828
1 parent 4885d1a commit 6225395

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

+1-1
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)