Skip to content

Conversation

marcofugaro
Copy link

I tried using this package with create-react-app and it breaks the webpack compilation because it has issues with the CaseSensitivePathsPlugin

here is the issue:

[CaseSensitivePathsPlugin] 
Module not found:
`/Users/marco/Code/repo/node_modules/react-codemirror/src/codemirror.js`
does not match the corresponding path on disk `Codemirror.js`.

this issue does not happen if in the package is not present a src/Codemirror.js

This should also solve issue #108

@@ -0,0 +1 @@
src/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It’s better to use files field in package.json and explicitly specify files you want to publish.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants