Skip to content

Commit 2d59fa8

Browse files
authored
Merge pull request #111 from kbond/doc-binary-platform
Document `binary_platform` option
2 parents 20e1783 + 865b627 commit 2d59fa8

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

doc/index.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,20 @@ To use a different version, adjust the ``binary_version`` option:
254254
symfonycasts_tailwind:
255255
binary_version: 'v3.3.0'
256256
257+
Using a Different Binary Platform
258+
---------------------------------
259+
260+
When downloading Tailwind, the bundle detects your platform and downloads
261+
the appropriate binary. This detection sometimes gets it wrong, so you can
262+
override it by setting the ``binary_platform`` option.
263+
264+
.. code-block:: yaml
265+
266+
# config/packages/symfonycasts_tailwind.yaml
267+
symfonycasts_tailwind:
268+
# one of: 'linux-arm64', 'linux-arm64-musl', 'linux-x64', 'linux-x64-musl', 'macos-arm64', 'macos-x64', 'windows-x64'
269+
binary_platform: 'linux-x64'
270+
257271
Using a PostCSS config file
258272
---------------------------
259273

0 commit comments

Comments
 (0)