Disable second pass of autoprefixer

This commit is contained in:
Dan Abramov
2016-07-22 11:23:34 +01:00
parent 024b4d4fcd
commit 214fc8ee0b

View File

@@ -64,7 +64,10 @@ module.exports = {
{
test: /\.css$/,
include: srcPath,
loader: ExtractTextPlugin.extract('style', 'css!postcss')
// Disable autoprefixer in css-loader itself:
// https://github.com/webpack/css-loader/issues/281
// We already have it thanks to postcss.
loader: ExtractTextPlugin.extract('style', 'css?-autoprefixer!postcss')
},
{
test: /\.json$/,