You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/index.rst
+11
Original file line number
Diff line number
Diff line change
@@ -110,6 +110,17 @@ that binary with the ``swc_binary`` option:
110
110
sensiolabs_typescript:
111
111
swc_binary: 'node_modules/.bin/swc'
112
112
113
+
By default, the bundle uses SWC v1.3.92. However, you can specify a different
114
+
SWC version to compile your codebase if you need a newer feature or bug fix:
115
+
116
+
.. code-block:: yaml
117
+
118
+
# config/packages/sensiolabs_typescript.yaml
119
+
sensiolabs_typescript:
120
+
swc_version: v1.7.27-nightly-20240911.1
121
+
122
+
Note that you should remove the existing SWC binary in the download directory (``var`` by default) after switching the ``swc_version``; the download is only triggered if no binary is found in the download directory. Otherwise, the existing binary will still be used.
0 commit comments