Skip to content

Add JSON support - #3374

Merged
jhnns merged 2 commits into
masterfrom
add/json-support
Dec 7, 2016
Merged

jhnns merged 2 commits into
masterfrom
add/json-support

Conversation

@jhnns

@jhnns jhnns commented Nov 24, 2016

Copy link
Copy Markdown
Contributor

What kind of change does this PR introduce?
If the user has no loader specified for a file that ends on .json, webpack now automatically applies the json-loader.

Did you add tests for your changes?
Yes, tests have been updated

If relevant, did you update the documentation?
Yes, updated docs and examples. This change needs to be added to the migration guide on webpack.js.org

Summary
Motivation see #3363

Does this PR introduce a breaking change?
No

@bebraw

bebraw commented Nov 30, 2016

Copy link
Copy Markdown
Contributor

Looks good to me.

@sokra sokra closed this Dec 7, 2016
@sokra sokra reopened this Dec 7, 2016
@jhnns
jhnns merged commit c5f058b into master Dec 7, 2016
@jhnns
jhnns deleted the add/json-support branch December 7, 2016 16:01
niksy added a commit to niksy/webpack-config-niksy that referenced this pull request Jan 10, 2018
Ref. webpack/webpack#3374

Webpack 2 has built-in JSON resolving.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants