Re-thinking developer experience • Product @Gitpod 🍊 Helping folks get their start in cloud • @openupthecloud ☁️ AWS Community Builder 🛠 Replies in GIFS 😃
Oh thank you! I've added integity hash to my codepen demo. Not really sure how I can get that hash before publishing so that I can set in readme (Apparently that hash changed from 1.0.1 to 1.0.2)
This is great. Nit: Promote healthy web practices and add sub-resource integrity (SRI) via the
integrity
attribute on your example.developer.mozilla.org/en-US/docs/W...
You can grab your hash from unpkg via the
meta
query parameter:https://unpkg.com/dev-widget@1.0.1/dist/card.component.mjs?meta
Came here to say that too — bravo!
Oh thank you! I've added integity hash to my codepen demo. Not really sure how I can get that hash before publishing so that I can set in readme (Apparently that hash changed from 1.0.1 to 1.0.2)
Yup, the hash will change for each version of the script pushed to the CDN.
Oh I didn't know about this thank you so much! I'll check it out