Skip to content

Exporting plugin as plugin is not easy when using multiple plugins #464

Description

@timanrebel

Is your feature request related to a problem? Please describe.
When importing multiple plugins into an Angular project, you have to import as because all plugins export under the same plugin variable name.

Example:

import { plugin as pluginBreadcrumbsNetwork } from "@appsignal/plugin-breadcrumbs-network"
import { plugin as pluginPathDecorator } from "@appsignal/plugin-path-decorator"

Describe the solution you'd like
Give each export of each plugin a unique name. For example:

import { pluginBreadcrumbsNetwork } from "@appsignal/plugin-breadcrumbs-network"
import { pluginPathDecorator } from "@appsignal/plugin-path-decorator"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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