Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Browser field is not working as expected #334

Closed
michbart opened this issue Jun 26, 2020 · 0 comments · Fixed by AlexanderWiechert/wordpress-export-to-markdown#8
Closed

Comments

@michbart
Copy link

The browser field exported by Turndown’s package.json apparently does not work as expected. When users want to build their project using Turndown and use it in browsers, the output contains JSDOM even though the JSDOM dependency is turned off in browser field. It's caused by using default module (i.e. turndown.es.js) which contains JSDOM. At this moment there is no way to use turndown.browser.*.js module variants which don't contain JSDOM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant