vite-plugin-sri3

JSON →
library 2.0.0 ·javascript
verified Apr 27, 2026

vite-plugin-sri3 (v2.0.0) is a zero-dependency Vite plugin that automatically adds Subresource Integrity (SRI) hashes to script and link tags in your built HTML. It supports Vite 3 through 8, Node >=18, and ships TypeScript types. Unlike its predecessors (rollup-plugin-sri and @small-tech/vite-plugin-sri), this plugin works correctly with Vite 4/5+ and offers features like ignoreMissingAsset for legacy chunk compatibility and a skip-sri attribute to exclude specific tags. It is actively maintained with a changelog and comprehensive test coverage including unit tests, end-to-end Playwright tests for tamper detection, and integration fixtures ensuring deterministic sha384 hashes.

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

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇮🇳 India