You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
michbart
pushed a commit
to orchitech/turndown
that referenced
this issue
Jun 26, 2020
The
browser
field exported by Turndown’spackage.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 inbrowser
field. It's caused by using default module (i.e.turndown.es.js
) which contains JSDOM. At this moment there is no way to useturndown.browser.*.js
module variants which don't contain JSDOM.The text was updated successfully, but these errors were encountered: