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 Deprecation Warning from latest master #984

Closed
danielduan opened this issue May 1, 2017 · 5 comments
Closed

Webpack Deprecation Warning from latest master #984

danielduan opened this issue May 1, 2017 · 5 comments

Comments

@danielduan
Copy link
Member

I get this warning every time I run storybook npm linked from the latest master.

DeprecationWarning: loaderUtils.parseQuery() received a non-string value which can be problematic, see https://github.com/webpack/loader-utils/issues/56
parseQuery() will be replaced with getOptions() in the next major version of loader-utils.

Does something in the default webpack config need to be updated?

@ndelangen
Copy link
Member

ndelangen commented May 1, 2017

Thanks for giving master a try!

I've seen this message too! thanks for reporting it! There's some old webpack config still around, though everything seems operational for now.

I'm trying to track down where this is caused. I wish webpack would let me know which loader.. But I can probably find out using stats.

@ronderksen
Copy link

@ndelangen Put process.traceDeprecation = true in your webpack config to find out which loader is causing the issue.

@ndelangen
Copy link
Member

Woot! thanks for the suggestion @ronderksen !

@ndelangen
Copy link
Member

I think I might have fixed it, but I'm not sure: #1008

@danielduan
Copy link
Member Author

@ndelangen confirmed the deprecation warnings are gone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants