django-webpack / webpack-bundle-tracker

Spits out some stats about webpack compilation process to a file
MIT License
268 stars 107 forks source link

Add Subresource Integrity Hashes to JSON Output #43

Closed crgwbr closed 4 years ago

crgwbr commented 5 years ago

This PR adds SRI hashes to the JSON output file, so that packages like django-webpack-loader can include the hash in HTML script tags.

crgwbr commented 5 years ago

Related: owais/django-webpack-loader#103

owais commented 4 years ago

@crgwbr Thanks for adding this and sorry it took me so long to start looking at the pending PRs. This repo now only supports webpack4 (and newer). If you still want to merge this, can you please resolve the conflicts and ensure this works with the latest version (and webpack4)?

Thanks

andersk commented 4 years ago

It looks like this feature was added in #59 with a different name.