webpack-contrib/json-loader

docs(README): should we ever explicitly keep json-loader in config?

tom-spalding opened this issue · 1 comments

I'm happy to see that json-loader works automatically in webpack 2 😸 https://webpack.js.org/guides/migrating/#json-loader-is-not-required-anymore.

When no loader has been configured for a JSON file, webpack will automatically try to load the JSON file with the json-loader.

My question though, is there any reason (besides if you have different file extensions) to explicitly write this in the config?

thanks!