Skip to content

Remove this plugin from production #182

@kopax-polyconseil

Description

@kopax-polyconseil

Environment

We have opened an issue in @sentry/react-native getsentry/sentry-react-native#2409, because we found the whole lodash being imported in our web application and react-native application while we where using lodash part that we need, now we have whole lodash + the rest.

After some reasearch, it appear that this module, and the https://www.npmjs.com/package/inquirer dependency of this module, import the whole lodash and both are CLI tools.

I wonder how this can be useful in @sentry/react-native and impact now our react-native-web application, could you please arrange that ?

image

Steps to Reproduce

  1. in a new project
  2. yarn add @sentry/react-native
  3. npm ls lodash

Expected Result

├─┬ @sentry/react-native@4.2.2
│ └─┬ @sentry/wizard@1.2.17
│   ├─┬ inquirer@6.5.2
│   │ └── lodash@4.17.21 deduped
│   └── lodash@4.17.21 deduped

Actual Result

├─┬ @sentry/react-native@4.2.2
│ └─┬ @sentry/wizard@1.2.17
│   ├─┬ inquirer@6.5.2
│   │ └── lodash.something@4.17.21
│   └── lodash.something@4.17.21

Related issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions