Skip to content

Commit

Permalink
feat: Export esbuild plugin as default (#555)
Browse files Browse the repository at this point in the history
  • Loading branch information
lforst authored Jun 24, 2024
1 parent 4451157 commit 604077b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/esbuild-plugin/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,5 +267,8 @@ const sentryUnplugin = sentryUnpluginFactory({
// eslint-disable-next-line @typescript-eslint/no-explicit-any
export const sentryEsbuildPlugin: (options?: Options) => any = sentryUnplugin.esbuild;

// eslint-disable-next-line @typescript-eslint/no-explicit-any
export default sentryUnplugin.esbuild as (options?: Options) => any;

export type { Options as SentryEsbuildPluginOptions } from "@sentry/bundler-plugin-core";
export { sentryCliBinaryExists } from "@sentry/bundler-plugin-core";

0 comments on commit 604077b

Please sign in to comment.