vite-plugin-sri

JSON →
library 0.0.2 ·javascript
verified Apr 27, 2026

A Vite plugin that adds Subresource Integrity (SRI) hashes to script and stylesheet imports in index.html at build time. Version 0.0.2 is current. Forked from @small-tech/vite-plugin-sri to fix an issue where dynamic imports were not handled correctly. Unlike the original, this plugin processes assets after Vite's build transformation, ensuring correct integrity hashes for dynamically imported modules. Released under ISC license.

total hits 14
actors 4 distinct systems
last hit 6d ago human
GPTBot
5
MetaBot
3
Humans
2

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇧🇷 Brazil · EC · 🇫🇮 Finland