GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Trigger.dev home page
  • Introduction
  • Quick start
  • Manual setup
  • Video walkthrough
  • How it works
  • Limits
  • Migrating from v3
  • Triggering
  • Runs
  • Overview
  • Skills
  • Agent rules
  • Overview

This view

  • Original page
  • New address

GeezerVison is showing trigger.dev — esbuild Plugin - Trigger.dev

You can easily add existing or custom esbuild plugins to your build process using the esbuildPlugin extension:
import { defineConfig } from "@trigger.dev/sdk";
import { esbuildPlugin } from "@trigger.dev/build/extensions";
import { sentryEsbuildPlugin } from "@sentry/esbuild-plugin";

export default defineConfig({
  project: "<project ref>",
  // Your other config settings...
  build: {
    extensions: [
      esbuildPlugin(
        sentryEsbuildPlugin({
          org: process.env.SENTRY_ORG,
          project: process.env.SENTRY_PROJECT,
          authToken: process.env.SENTRY_AUTH_TOKEN,
        }),
        // optional - only runs during the deploy command, and adds the plugin to the end of the list of plugins
        { placement: "last", target: "deploy" }
      ),
    ],
  },
});

Was this page helpful?

⌘I
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.