Skip to content

Browser field is not working as expected #334

Closed
AlexanderWiechert/wordpress-export-to-markdown
#8
@michbart

Description

@michbart

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions