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
1 merge request!353Add check-filename-webpack-plugin to warn on JSX file extension
Showing with 20 additions and 2 deletions
+20 -2
...@@ -98,7 +98,16 @@ module.exports = { ...@@ -98,7 +98,16 @@ module.exports = {
useEslintrc: false useEslintrc: false
}, },
postcss: function() { postcss: function() {
return [autoprefixer]; return [
autoprefixer({
browsers: [
'>1%',
'last 4 versions',
'Firefox ESR',
'not ie < 9',
]
}),
];
}, },
plugins: [ plugins: [
new HtmlWebpackPlugin({ new HtmlWebpackPlugin({
......
...@@ -108,7 +108,16 @@ module.exports = { ...@@ -108,7 +108,16 @@ module.exports = {
useEslintrc: false useEslintrc: false
}, },
postcss: function() { postcss: function() {
return [autoprefixer]; return [
autoprefixer({
browsers: [
'>1%',
'last 4 versions',
'Firefox ESR',
'not ie < 9',
]
}),
];
}, },
plugins: [ plugins: [
new HtmlWebpackPlugin({ 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