-
Notifications
You must be signed in to change notification settings - Fork 87
Impossible to use loose mode for classes #47
Comments
Hmm – no, it looks like the options should get cloned rather than mutated. Most likely an oversight on my part... |
@Rich-Harris If I manually specify |
This appears to no longer exhibit the same problem, so I'm closing. Please comment if I have that wrong. |
Actually, I think it may still be a problem. |
@eventualbuddha confirmed, still an issue. Tested by removing these transforms in preact-svg, which generates strict mode class output at |
Just released 2.5.1 which no longer mutates |
@Rich-Harris Confirmed, it's fixed! Thanks muchly. |
L20 makes it impossible to use the class transformer's loose specified by presets passed to
rollup-plugin-babel
. This is because the class transform is manually added to the plugins list, which takes precedence over preset-provided plugins.Is this intentional? If not, what about something like this?
The text was updated successfully, but these errors were encountered: