From a422be1a02f931322f21bc537f25241d8425550e Mon Sep 17 00:00:00 2001 From: matlec Date: Wed, 6 Nov 2024 21:44:36 +0100 Subject: [PATCH] [StimulusBundle][Doc] Mention `removeComments` will no longer be necessary --- src/StimulusBundle/doc/index.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/StimulusBundle/doc/index.rst b/src/StimulusBundle/doc/index.rst index 745c19bc0a4..4188b2f22b0 100644 --- a/src/StimulusBundle/doc/index.rst +++ b/src/StimulusBundle/doc/index.rst @@ -157,8 +157,9 @@ To make a third-party controller lazy, in ``assets/controllers.json``, set .. note:: - If you write your controllers using TypeScript, make sure - ``removeComments`` is not set to ``true`` in your TypeScript config. + If you write your controllers using TypeScript and you're using + StimulusBundle ≤ 2.21.0, make sure ``removeComments`` is not set + to ``true`` in your TypeScript config. Stimulus Tools around the World -------------------------------