diff --git a/config/webpack.config.dev.js b/config/webpack.config.dev.js index 93589a99006..f87fc2c4529 100644 --- a/config/webpack.config.dev.js +++ b/config/webpack.config.dev.js @@ -97,7 +97,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 bc1887df177..d7f3ada7c4f 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({