Skip to content

fix(client): fix import in html-to-dom.mjs#338

Merged
remarkablemark merged 1 commit intomasterfrom
fix/module
Aug 23, 2022
Merged

fix(client): fix import in html-to-dom.mjs#338
remarkablemark merged 1 commit intomasterfrom
fix/module

Conversation

@remarkablemark
Copy link
Copy Markdown
Owner

What is the motivation for this pull request?

fix(client): fix import in html-to-dom.mjs

Fixes #337

Relates to remarkablemark/html-react-parser#662

What is the current behavior?

Client error:

error - /app/node_modules/html-dom-parser/lib/client/html-to-dom.mjs
Can't import the named export 'formatDOM' from non EcmaScript module (only default export is available)

What is the new behavior?

Fixes error

Checklist:

@github-actions
Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
dist/html-dom-parser.min.js 3.8 KB (0%) 76 ms (0%) 97 ms (+27.56% 🔺) 173 ms

@remarkablemark remarkablemark merged commit c2ef2db into master Aug 23, 2022
@remarkablemark remarkablemark deleted the fix/module branch August 23, 2022 00:33
@remarkablemark
Copy link
Copy Markdown
Owner Author

Release #339 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can't import the named export 'formatDOM' from non EcmaScript module (only default export is available)

1 participant