Skip to content

Incorrect Type in package.json, Breaks Webpack 5 #201

@thequailman

Description

@thequailman

Hello, this repo uses the wrong type specified in the package.json:

https://github.com/commonmark/commonmark.js/blob/master/package.json#L18

Webpack thinks it's commonjs, but it uses import/export syntax and breaks the loader. See this issue for a similar repo with the same problem and a workaround until it's fixed: webpack/webpack#11597

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