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