Skip to content
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

Webpack build warning: (Emitted value instead of an instance of Error) ⚠️ JSON Loader #275

Closed
astaff opened this issue Jul 22, 2017 · 0 comments
Assignees

Comments

@astaff
Copy link
Contributor

astaff commented Jul 22, 2017

A possible false-positive Warning currently in CI:

WARNING in ./~/vue-resource/~/got/package.json
(Emitted value instead of an instance of Error) ⚠️  JSON Loader

It seems you're using webpack >= v2.0.0, which includes native support for JSON.
Please remove this loader from webpack.config.js as it isn't needed anymore and
is deprecated. See the v1.0.0 -> v2.0.0 migration guide for more information
(https://webpack.js.org/guides/migrating/#json-loader-is-not-required-anymore)

 @ ./~/vue-resource/~/got/index.js 22:12-32
 @ ./~/vue-resource/dist/vue-resource.es2015.js
 @ ./ui/main.js
 @ multi ./ui/main.js webpack-dev-server/client?http://localhost:8090/

Thread to watch: webpack-contrib/json-loader#57

@astaff astaff self-assigned this Jul 22, 2017
@astaff astaff closed this as completed Sep 7, 2017
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

No branches or pull requests

1 participant