picturefill v3.0.3 Release Notes
Release Date: 2017-03-20 // over 7 years ago-
JavaScript module sizes and how they're ludicrous is a hot topic on the internet these days, eh? Well, we here at Picturefill are not ones to miss out on a good trend. Thanks to @gpittarelli we've reduced the installed size of Picturefill by about 98%.
📱 For those of you concerned that this means 98% of your responsive images won't be polyfilled, fear not. We're only being polite to your disk space and not installing a full copy of the examples directory (and various other small fried fish, by comparison) each time you install Picturefill. These examples are, of course, available on the wider interwebs, should you need them.
🚀 Official Release Notes ™:
- ➕ add .npmignore file (via #674)
Previous changes from v3.0.2
-
- 🔌 documented polyfill plugins
- 👮 force FF to re-select image candidate on window.resize (including
srcset
only) - proper
sizes
detection for Safari 9.x