Skip to content

svelte-img causes CSP issue with Svelte5 #56

@mulder999

Description

@mulder999

Please find code for reproduction here

To reproduce:

  1. Run npm i && npm run build && npm run preview -- --open
  2. Launch developer tools and reload the page

You should see two errors in the console related to CSP: Refused to execute inline event handler because it violates the following Content Security Policy directive...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions