Skip to content

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

@nebel95

Description

@nebel95

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions