Skip to content

Commit

Permalink
Disable second pass of autoprefixer
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Jul 22, 2016
1 parent 024b4d4 commit 214fc8e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion config/webpack.config.prod.js
Expand Up @@ -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$/,
Expand Down

0 comments on commit 214fc8e

Please sign in to comment.