Closed ajlende closed 3 years ago
Ahhh I hadn't realized, thanks so much! Here I was thinking I was trying to save some bytes 🤦♀️ The security concern totally makes sense though. Thanks!
Also privately I am TOTALLY over the moon that my small polyfill will be used by WordPress 😄 To be honest I wasn't really sure it'd be of huge use after Edge switched to webkit. Super cool, and definitely reach out if y'all need any further updates and I should get off my butt!
Thanks for merging this @constancecchen! Could you please publish a new release to npm so that when I npm install objectFitPolyfill
I get the src
folder in my node_modules
?
Ah yes, apologies!! 🤦♀️ I should have just done so here, please let me know if you have any issues with the published package. Also don't hesitate to keep prodding me about things like this!
Thank you! Shall do 🙂
I found this polyfill when working on WordPress/gutenberg. However, plugins must include a (mostly) human readable version of the code. Uploading the src folder to npm would allow us to use it.