webpack-contrib / json-loader

json loader module for webpack - UNMAINTAINED

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

dreamalligator opened this issue · comments

commented

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?

commented

thanks!