diff --git a/config/webpack.config.dev.js b/config/webpack.config.dev.js index 89ada953..ba6c1926 100644 --- a/config/webpack.config.dev.js +++ b/config/webpack.config.dev.js @@ -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({ diff --git a/config/webpack.config.prod.js b/config/webpack.config.prod.js index a84e936c..a4e52d76 100644 --- a/config/webpack.config.prod.js +++ b/config/webpack.config.prod.js @@ -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({