Skip to content

@sentry/node package size is pretty big #2090

Closed
@Siilwyn

Description

@Siilwyn

👋 hi there, I'm using Sentry for fatal error reporting on a CLI tool and a lambda server and I'm looking into moving from raven to @sentry/node. However I noticed that the package size has increased from 170kB to 1.7MB.
I'm trying to keep the CLI size down without so the parsing time is low when started, same for the server.

@sentry/node
install size

raven
install size

Inspecting locally the biggest offenders are:

image

Seems like the double dist and esm output does not work in the size favor, thoughts?

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