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
It is not possible to enable feature for self closing empty tags/components. I would like this feature back. Why not add another option to config, so user can choose if to enable it or disable it.
From readme:
Whether or not empty elements/components should self-close is now left to the user - in other words, if you write
or that stays as is, and so does /. If svelteStrictMode is turned on, it will still only allow notation for elements (but it will leave your components alone)
The text was updated successfully, but these errors were encountered:
I don't know if I'm right, but it might be related to an issue I've been encountering recently: when using the option svelteStrictMode: true, the <enhanced:img> tags from @sveltejs/enhanced-img is always replaced by an explicit closing tag (</enhanced:img>), even if I manually already specified a self-closing one (<enhanced:img ... />). This is an issue because enhanced:img doesn't support an explicit closing tag.
It is not possible to enable feature for self closing empty tags/components. I would like this feature back. Why not add another option to config, so user can choose if to enable it or disable it.
From readme:
Whether or not empty elements/components should self-close is now left to the user - in other words, if you write
The text was updated successfully, but these errors were encountered: