Skip to content

Commit 8c69887

Browse files
Merge pull request #223 from remarkablemark/fix/es-module
fix(index): refactor ES module from ES6 to ES5 syntax
2 parents 04bb88e + 9112250 commit 8c69887

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

index.mjs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
import HTMLReactParser from './index.js';
22

3+
export var domToReact = HTMLReactParser.domToReact;
4+
export var htmlToDOM = HTMLReactParser.htmlToDOM;
5+
export var attributesToProps = HTMLReactParser.attributesToProps;
6+
37
export default HTMLReactParser;
4-
export var { domToReact, htmlToDOM, attributesToProps } = HTMLReactParser;

0 commit comments

Comments
 (0)