passy/autoprefixer-loader

Deprecation warning with Webpack 2+

Closed this issue · 1 comments

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

From this line:

var params = loaderUtils.parseQuery(this.query);

When using a valid object query:

{
    loader: 'autoprefixer-loader',
    options: { browser: 'last 2 version'
}
ai commented

autoprefixer-loader is deprecated. Please use postcss-loader with Autoprefixer plugin.