Remove json-loader dependency from React Redux #495

Closed
opened 2025-08-09 17:16:30 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @agrcrobles on 8/17/2017

Hi there,

json-loader is not required anymore because is supported by webpack 2 out of the box and could be safely removed from React Redux starter template.

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

It is related to https://github.com/webpack/webpack/issues/3363

More info: https://webpack.js.org/guides/migrating/

*Originally created by @agrcrobles on 8/17/2017* Hi there, `json-loader` is not required anymore because is supported by `webpack 2` out of the box and could be safely removed from React Redux starter template. When no loader has been configured for a JSON file, `webpack` will automatically try to load the JSON file with the `json-loader` either way. It is related to https://github.com/webpack/webpack/issues/3363 More info: https://webpack.js.org/guides/migrating/
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#495
No description provided.