Skip to content

[Bug]: Storybook angular eval CSP problem when deployed #33633

@Obentaala141

Description

@Obentaala141

Describe the bug

When deploying our Storybook for Angular to a public environment with a strict Content Security Policy (CSP), stories fail to render. The console shows an EvalError indicating that Angular’s JIT compiler is attempting to use eval

any solution guys ? i tried storybook 7 , 8 and 9 .

Image Image

Reproduction link

.

Reproduction steps

No response

System

.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions