Skip to content

💡 Mark sentry entrypoints for production #1103

@camjackson-bigwx

Description

@camjackson-bigwx

Suggest an idea for Knip

As discussed on discord, sentry's config files are executed in production. When your app starts app, sentry requires the relevant config file and runs it.

In my codebase, knip --production says that @sentry/integrations is an unused dependency, even though I import it from my sentry config files. The knip plugin should be updated to mark the various sentry config files as production entrypoints.

PR coming 🙂

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions