Skip to content
This repository was archived by the owner on Jan 26, 2019. It is now read-only.

Commit 214fc8e

Browse files
committed
Disable second pass of autoprefixer
1 parent 024b4d4 commit 214fc8e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

config/webpack.config.prod.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,10 @@ module.exports = {
6464
{
6565
test: /\.css$/,
6666
include: srcPath,
67-
loader: ExtractTextPlugin.extract('style', 'css!postcss')
67+
// Disable autoprefixer in css-loader itself:
68+
// https://github.com/webpack/css-loader/issues/281
69+
// We already have it thanks to postcss.
70+
loader: ExtractTextPlugin.extract('style', 'css?-autoprefixer!postcss')
6871
},
6972
{
7073
test: /\.json$/,

0 commit comments

Comments
 (0)