Image sizes
attribute is corrupted
#7862
Labels
✖️ Non-Parcel bug
Bugs related to dependencies or plugins
sizes
attribute is corrupted
#7862
🐛 bug report
Some
sizes
attributes are corrupted.🎛 Configuration and 💻 Code Sample
Minimal reproduction:
🤔 Expected Behavior
Expected output:
i.e. “on viewports at least 300px wide, use the 200px source, otherwise use the 100px source”
😯 Current Behavior
Actual output:
i.e. “nonsense; fall back to the 100vw source”
💁 Possible Solution
Not sure; I searched Parcel’s codebase for
sizes
but don’t see where it’s manipulating this value.🔦 Context
This causes the browser to download the incorrect image source, resulting in either excess data usage (if the display size is narrower than 100vw) or blurry images (if the display size is wider than 100vw).
🌍 Your Environment
The text was updated successfully, but these errors were encountered: