diff --git a/config/webpack.config.dev.js b/config/webpack.config.dev.js index 5a5a2ff612..2a9d9916d8 100644 --- a/config/webpack.config.dev.js +++ b/config/webpack.config.dev.js @@ -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({ diff --git a/config/webpack.config.prod.js b/config/webpack.config.prod.js index bc1887df17..d7f3ada7c4 100644 --- a/config/webpack.config.prod.js +++ b/config/webpack.config.prod.js @@ -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({