-
-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect Type in package.json, Breaks Webpack 5 #201
Comments
The intent was to preserve backwards-compatibility, so the package can still be used as commonjs. |
As you can see from |
See #195 -- is this a dup or a distinct issue? |
I think if you're using import/export syntax in
|
This should be fixed by #203 |
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
The text was updated successfully, but these errors were encountered: