Skip to content

Commit a60a2cb

Browse files
committed
minor #14076 Update Symfony browserlists reccomendation to browserlists standard. (Taminoful)
This PR was submitted for the 5.1 branch but it was squashed and merged into the 3.4 branch instead. Discussion ---------- Update Symfony browserlists reccomendation to browserlists standard. Use the browserlists default browsers as reccommended by "browserlists" The ``defaults`` option of browserlists includes the already mentioned settings on this page and is the reccommended value for most users, listing all the including values as a reccommendation from Symfony is not helpful. I included the equivilent of defaults below the new reccommendation for explaination. See: [Full List of Browserslist](https://github.com/browserslist/browserslist#full-list) <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- 22e454f Update Symfony browserlists reccomendation to browserlists standard.
2 parents 30f2cf7 + 22e454f commit a60a2cb

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

frontend/encore/postcss.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,16 @@ The ``autoprefixer`` (and many other tools) need to know what browsers you want
6363
support. The best-practice is to configure this directly in your ``package.json``
6464
(so that all the tools can read this):
6565

66+
.. code-block:: diff
67+
68+
{
69+
+ "browserslist": [
70+
+ "defaults"
71+
+ ]
72+
}
73+
74+
The ``defaults`` option is reccommended for most users and would be equivilant to the following browserslist.
75+
6676
.. code-block:: diff
6777
6878
{

0 commit comments

Comments
 (0)