Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 4, 2016
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Moved autoprefixer config to webpack.config
  • Loading branch information
kripod committed Aug 4, 2016
commit 437042ac37a9aaa4a56c09782bdb20f2827572d0
5 changes: 0 additions & 5 deletions browserslist

This file was deleted.

11 changes: 10 additions & 1 deletion config/webpack.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,16 @@ module.exports = {
useEslintrc: false
},
postcss: function() {
return [autoprefixer];
return [
autoprefixer({
browsers: [
'>1%',
'last 4 versions',
'Firefox ESR',
'not ie < 9',
]
}),
];
},
plugins: [
new HtmlWebpackPlugin({
Expand Down
11 changes: 10 additions & 1 deletion config/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,16 @@ module.exports = {
useEslintrc: false
},
postcss: function() {
return [autoprefixer];
return [
autoprefixer({
browsers: [
'>1%',
'last 4 versions',
'Firefox ESR',
'not ie < 9',
]
}),
];
},
plugins: [
new HtmlWebpackPlugin({
Expand Down