-
-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Why isn't json-loader enabled by default? #2370
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
I can confirm this is annoying. I believe BitcoinJS also uses JSON files, which is why I had to enable it in my project (even though other things such as Browserify seem to support it by default) |
seems so, yes. For the record:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm coming from fb55/entities#26. It's a commonly used tiny library, and the fact that it uses JSON files internally (which is fine with both Node and Browserify) requires anyone using libraries that use libraries that depend on
entities
add thejson
loader explicitly to their webpack config. I wonder why JSON files aren't handled correctly by default.@sokra , could you please explain this design decision? Would you accept a PR changing this?
The text was updated successfully, but these errors were encountered: