webpack-contrib / json-loader

json loader module for webpack - UNMAINTAINED

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

False positive warning about Webpack 2

gaearon opened this issue · comments

commented

We are seeing this warning on CI trying to update Create React App to Webpack 3: facebook/create-react-app#2574 (comment). However we never explicitly use json-loader.

I wonder if it's possible that the warning has a false positive? For example webpack/webpack#3374 makes webpack delegate to json-loader automatically here. Is there any chance that this could unintentionally trigger the warning?

I noticed this issue when I have placed some dependencies for package.json under devDependencies. I have since moved everything back under dev and the warnings no longer occur.

@gaearon - I've stripped the deprecation warning entirely, this is a problem that needs to be fixed upstream as the whole thing is kind of circular.

json-loader@0.5.7

commented

Thanks!

commented

Thank you @d3viant0ne ! With the "json-loader": "^0.5.7" in the package.json, we get rid of thoses "useless" warning messages ! 🥇