Skip to content

Commit

Permalink
feat: Export esbuild plugin as default
Browse files Browse the repository at this point in the history
  • Loading branch information
lforst committed Jun 24, 2024
1 parent 4451157 commit 75ed2c6
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 75ed2c6

Please sign in to comment.