How do I find the Subresource Integrity (SRI) code for the debug version of bootstrap 5?

363 Views Asked by At

Bootstrap 5.3.0-alpha3 is hosted on JsDelivr network. I can see that on this link https://www.jsdelivr.com/package/npm/bootstrap?tab=stats

I can right click the copy icon and copy the SRI code for the minified version. But where do I find the SRI code for the non-minified/debug version of the resource?

This is the minified version https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js

This is the un-minified version. https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.js

1

There are 1 best solutions below

0
Jay On BEST ANSWER

I ended up using an SRI Hash generator like https://www.srihash.org