diff --git a/config/webpack.dev-stage.config.js b/config/webpack.dev-stage.config.js index 001ba145e..c7fc989b9 100644 --- a/config/webpack.dev-stage.config.js +++ b/config/webpack.dev-stage.config.js @@ -83,7 +83,9 @@ module.exports = merge(commonConfig, { options: { postcssOptions: { plugins: [ - PostCssAutoprefixerPlugin(), + PostCssAutoprefixerPlugin({ + remove: false, // Prevents removing vendor prefixes + }), PostCssRTLCSS(), PostCssCustomMediaCSS(), ], diff --git a/config/webpack.dev.config.js b/config/webpack.dev.config.js index 66278d86f..12e6c614f 100644 --- a/config/webpack.dev.config.js +++ b/config/webpack.dev.config.js @@ -47,7 +47,9 @@ function getStyleUseConfig() { options: { postcssOptions: { plugins: [ - PostCssAutoprefixerPlugin(), + PostCssAutoprefixerPlugin({ + remove: false, // Prevents removing vendor prefixes + }), PostCssRTLCSS(), PostCssCustomMediaCSS(), ], diff --git a/config/webpack.prod.config.js b/config/webpack.prod.config.js index 2f05591c0..ffc965081 100644 --- a/config/webpack.prod.config.js +++ b/config/webpack.prod.config.js @@ -112,7 +112,9 @@ module.exports = merge(commonConfig, { options: { postcssOptions: { plugins: [ - PostCssAutoprefixerPlugin(), + PostCssAutoprefixerPlugin({ + remove: false, // Prevents removing vendor prefixes + }), PostCssRTLCSS(), PostCssCustomMediaCSS(), CssNano(),