-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
I faced a strange problem... Please checkout my testing repo:
[Repo] (https://github.com/d9767192/react-diagrams).
In this repo, I simplified all settings and compiled program by webpack-dev-server.
In the webpack settings, I only used style-loader and babel loader as plugins.
In the setting of babelrc the preset of env and react were used.
About the program, I tried the simple case (two node, one link)
When I ran the program, I got this result:
Then, I tried to set sourceMap in css-loader as false, The result is perfect:
Finally I found an issue in css-loader repo seems match my problem:
webpack-contrib/css-loader#613
I'm not sure if it is the reason. Now I can do is to remove the sourceMap in my project. But it's wierd! Is there any other solution?
Thanks.