From fba8b7307569631bb5233bdfbe8bbd95d17e07cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Wed, 20 Mar 2024 00:24:55 +0100 Subject: [PATCH] Remove support for very old browsers in autoprefixer These browsers are very old, we don't support them, and, combined, their usage is about 0.1%. We're still supporting IE 11 through the "last 1 version" option and many versions of Android and ios through the "last 7 years" option. Thanks to this change, we no longer generate prefixes in flexbox properties, making debugging in the browser easier. There are no significant differences in the size of the compiled CSS in production environments, though (with these changes, the file is about 2% smaller). --- app/assets/stylesheets/.browserslistrc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/assets/stylesheets/.browserslistrc b/app/assets/stylesheets/.browserslistrc index c637e0cbc..63bd8b23d 100644 --- a/app/assets/stylesheets/.browserslistrc +++ b/app/assets/stylesheets/.browserslistrc @@ -1,5 +1,2 @@ -last 2 versions +last 1 version last 7 years -ie >= 9 -Android >= 2.3 -ios >= 7