Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
timanrebel opened this issue Jan 8, 2021 · 0 comments
Open
Labels

Comments

@timanrebel
Copy link

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"
@timanrebel timanrebel changed the title Exporting plain as plugin is not easy when using multiple plugins Exporting plugin as plugin is not easy when using multiple plugins Jan 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants