Skip to content

How to add Subresource Integrity to generated link tags? #106

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
nebel95 opened this issue Feb 21, 2025 · 0 comments
Open

How to add Subresource Integrity to generated link tags? #106

nebel95 opened this issue Feb 21, 2025 · 0 comments

Comments

@nebel95
Copy link

nebel95 commented Feb 21, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant