scniro / react-codemirror2

Codemirror integrated components for React
MIT License
1.66k stars 193 forks source link

After use webpack to build, the style of codemirror has some wrong #85

Closed solayao closed 6 years ago

solayao commented 6 years ago

Hi, when i use the react-codemirror2 in webpack-dev-server, it worked like this image however, after i built the project, it worked like this image and i found that change two style it normal work again image but i don't know how to fix the problem at all

scniro commented 6 years ago

@solayao Unfortunately I am going to close this issue as it's definitiely more related to webpack and your development setup. react-codemirror2 has no special instruction for bundling with webpack so long as you properly include the resources. I'd suggest composing this into a question on https://stackoverflow.com/ if you continue to struggle 👍