vite-plugin-vue2 icon indicating copy to clipboard operation
vite-plugin-vue2 copied to clipboard

How to add Subresource Integrity to generated link tags?

Open nebel95 opened this issue 8 months ago • 0 comments

In vue-cli with webpack, there is an integrity flag that can be used to add Subresource Integrity hashes to generated link rel="stylesheet"> and <script> tags. Is there an equivalent with vite-plugin-vue2? How can I do it?

I have a similar question for the crossorigin option too since my resources are loaded through CORS.

Thanks in advance for the help

nebel95 avatar Feb 21 '25 07:02 nebel95