Skip to content

Supply correct return type for sentryVitePlugin #727

Open
@Lutymane

Description

@Lutymane

The factory function actually returns an array of plugins which caused issues with plugin management with an expectation it returns a single plugin. It should be noted either in docs, or properly typed to avoid issues for other users.

export const sentryVitePlugin: (options?: Options) => any = sentryUnplugin.vite;

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions