You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running a webpack build, webpack throws the following warning:
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.
at Object.parseQuery (/var/www/prod/node_modules/loader-utils/index.js:78:3)
As stated in the warning, you can get more info in the loader-utils issue 56, but the basic idea is that you should replace loaderUtils.parseQuery in here with:
getOptions - the only way to get the loader options. It will look like this:
The text was updated successfully, but these errors were encountered:
When running a webpack build, webpack throws the following warning:
As stated in the warning, you can get more info in the loader-utils issue 56, but the basic idea is that you should replace
loaderUtils.parseQuery
in here with:The text was updated successfully, but these errors were encountered: