vite-plugin-cross-origin-isolation
JSON →A Vite plugin (v0.1.6, actively maintained) that enables cross-origin isolation for the Vite dev server by setting the required COOP and COEP headers. This is necessary for using SharedArrayBuffer and other APIs that require a cross-origin isolated context, such as performance.measureMemory(). The plugin is lightweight and easy to use, simply adding it to the Vite plugins array. It is specifically designed for development environments; for production, server-level configuration is still needed. It is the go-to solution for Vite projects needing SharedArrayBuffer support during development.
Traffic · last 30 days stale · no recent hits
total hits 15
actors 4 distinct systems
last hit 24d ago human
top countries 🇺🇸 United States · VN · 🇨🇦 Canada · 🇬🇧 United Kingdom · 🇩🇪 Germany