Skip to content

Commit 7beff8d

Browse files
Merge pull request #216 from remarkablemark/fix/es-modules
fix(index): export without const in `index.mjs`
2 parents 6819609 + 9639afb commit 7beff8d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

index.mjs

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

0 commit comments

Comments
 (0)