Commit 156a3c6c authored by Kristóf Poduszló's avatar Kristóf Poduszló Committed by Dan Abramov
Browse files

Added a reasonable config for autoprefixer (resolves #73) (#345)

* Added a reasonable config for autoprefixer (resolves #73)

* Moved autoprefixer config to webpack.config
parent a829ca39
Showing with 20 additions and 2 deletions
+20 -2
......@@ -98,7 +98,16 @@ module.exports = {
useEslintrc: false
},
postcss: function() {
return [autoprefixer];
return [
autoprefixer({
browsers: [
'>1%',
'last 4 versions',
'Firefox ESR',
'not ie < 9',
]
}),
];
},
plugins: [
new HtmlWebpackPlugin({
......
......@@ -108,7 +108,16 @@ module.exports = {
useEslintrc: false
},
postcss: function() {
return [autoprefixer];
return [
autoprefixer({
browsers: [
'>1%',
'last 4 versions',
'Firefox ESR',
'not ie < 9',
]
}),
];
},
plugins: [
new HtmlWebpackPlugin({
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment