Skip to content

Commit 604077b

Browse files
authored
feat: Export esbuild plugin as default (#555)
1 parent 4451157 commit 604077b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: packages/esbuild-plugin/src/index.ts

+3
Original file line numberDiff line numberDiff line change
@@ -267,5 +267,8 @@ const sentryUnplugin = sentryUnpluginFactory({
267267
// eslint-disable-next-line @typescript-eslint/no-explicit-any
268268
export const sentryEsbuildPlugin: (options?: Options) => any = sentryUnplugin.esbuild;
269269

270+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
271+
export default sentryUnplugin.esbuild as (options?: Options) => any;
272+
270273
export type { Options as SentryEsbuildPluginOptions } from "@sentry/bundler-plugin-core";
271274
export { sentryCliBinaryExists } from "@sentry/bundler-plugin-core";

0 commit comments

Comments
 (0)