markdown-to-jsx icon indicating copy to clipboard operation
markdown-to-jsx copied to clipboard

7.x version is not working in bundlephobia

Open TheBit opened this issue 1 year ago • 1 comments

https://bundlephobia.com/package/[email protected]

MinifyError We could not minify one of the source files in this package or its dependencies. Please verify if the contents of 0 can be minified using terser.

Stacktrace
{ "name": "SyntaxError", "message": "Unexpected token: keyword (export)", "filename": "0", "line": 1, "col": 13941, "pos": 13941 }

While previous major is working fine: https://bundlephobia.com/package/[email protected]

TheBit avatar Sep 19 '22 11:09 TheBit

Hmm sounds like they aren’t parsing the package.json bundling flags well and are assuming cjs

quantizor avatar Jan 31 '23 03:01 quantizor