Skip to content

Commit 0c3ef41

Browse files
authored
Update postcss.rst
Use the browserlists default browsers as reccommended by "browserlists" ```defaults`` 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.
1 parent c2bcbf6 commit 0c3ef41

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)