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
Since @parcel/transformer-css-2.2.0 2.2.1 single quotes in CSS url() seem to be replaced with double quotes. This breaks url strings that contain double quotes.
🐛 bug report
Since @parcel/transformer-css-
2.2.02.2.1 single quotes in CSSurl()
seem to be replaced with double quotes. This breaks url strings that contain double quotes.🎛 Configuration (.babelrc, package.json, cli command)
No relevant config.
🤔 Expected Behavior
I’m expecting the following line to stay as is in the output CSS:
😯 Current Behavior
From
2.2.02.2.1 on'
is changed to"
, resulting in invalid CSS:💁 Possible Solution
Is there some config that would allow me turn this off again? I've experimented with transformer settings but no luck.
For now, pinning @parcel/transformer-css to 2.1.1 is a workaround:
🔦 Context
There are no build errors but the resulting CSS is invalid and, in the above example, wouldn’t show the svg.
I cannot change the affected url string because it comes from a 3rd party dependency (foundation-sites).
💻 Code Sample
See example above.
🌍 Your Environment
The text was updated successfully, but these errors were encountered: