Environment
Sentry esbuild plugin version 0.3.0 run on esbuild 0.16.12
Steps to Reproduce
Followed the usage guide in https://github.com/getsentry/sentry-javascript-bundler-plugins/tree/main/packages/esbuild-plugin
// esbuild.config.js
const sentryEsbuildPlugin = require("@sentry/esbuild-plugin");
require("esbuild").build({
plugins: [
sentryEsbuildPlugin({
include: ".",
ignore: ["node_modules", "esbuild.config.js"],
org: process.env.SENTRY_ORG,
project: process.env.SENTRY_PROJECT,
authToken: process.env.SENTRY_AUTH_TOKEN,
}),
],
});
Expected Result
Sentry plugin would run
Actual Result
It broke the build with error TypeError: sentryEsbuildPlugin is not a function

Environment
Sentry esbuild plugin version 0.3.0 run on esbuild 0.16.12
Steps to Reproduce
Followed the usage guide in https://github.com/getsentry/sentry-javascript-bundler-plugins/tree/main/packages/esbuild-plugin
Expected Result
Sentry plugin would run
Actual Result
It broke the build with error
TypeError: sentryEsbuildPlugin is not a function