mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-02 22:37:39 +08:00
Disable second pass of autoprefixer
This commit is contained in:
@@ -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$/,
|
||||
|
||||
Reference in New Issue
Block a user