Skip to content

Passing options to the nomodule fix script #105

@FalconsLanding

Description

@FalconsLanding

Question
I'm updating a Content Security Policy for a client site and need to add a hash or nonce to the nomodule fix script.
I've tried the SCRIPT_TAG_ATTRS documented, but they only seem to affect script tags with a src.
Any help much appreciated !

Vite plugin version : 5.0.1
Craft : 5.7.1.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions