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; |