Skip to content

Commit 167db6f

Browse files
Merge pull request #220 from remarkablemark/fix/es-modules
fix(index): make sure to export the named exports
2 parents ed5c61a + 1689bd9 commit 167db6f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

index.mjs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
export { default, domToReact, htmlToDOM, attributesToProps } from './index.js';
1+
import HTMLReactParser from './index.js';
2+
3+
export default HTMLReactParser;
4+
export var { domToReact, htmlToDOM, attributesToProps } = HTMLReactParser;

0 commit comments

Comments
 (0)