Hey @ianwalter thanks for making this codemirror mode!
I'm using it with Webpack and ran into the issue that Webpack was including two versions of codemirror into my build, because this projects specifies codemirror as a direct dependency.
This PR makes codemirror a peerDependency. I've updated the README to reflect that codemirror itself should be installed separately. I've left the version specifier as it was, which makes this mode compatible with any version of codemirror > 5.20.2.
Hey @ianwalter thanks for making this codemirror mode!
I'm using it with Webpack and ran into the issue that Webpack was including two versions of codemirror into my build, because this projects specifies codemirror as a direct dependency.
This PR makes codemirror a peerDependency. I've updated the README to reflect that codemirror itself should be installed separately. I've left the version specifier as it was, which makes this mode compatible with any version of codemirror >
5.20.2
.